Add psyco

This commit is contained in:
Cédric Krier committed 2008-07-24 23:12:07 +02:00
1 parent b5583498d9
commit 0ca9bf4670
1 file changed
+7
+7
View File
@@ -179,6 +179,13 @@ class TrytonServer(object):
if CONFIG['webdav']:
webdavd.start()
#DISPATCHER.run()
try:
import psyco
psyco.full()
except ImportError:
pass
count = 0
while True:
time.sleep(1)