summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index c0d636653..b129e2cb7 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -479,7 +479,7 @@ class Core(object):
locals().clear()
while True:
- sleep(2)
+ sleep(1.5)
if self.do_restart:
self.log.info(_("restarting pyLoad"))
self.restart()
@@ -490,6 +490,7 @@ class Core(object):
_exit(0) #@TODO thrift blocks shutdown
self.threadManager.work()
+ self.interactionManager.work()
self.scheduler.work()
def setupDB(self):
@@ -580,8 +581,7 @@ class Core(object):
self.addonManager.deactivateAddons()
except:
- if self.debug:
- print_exc()
+ self.print_exc()
self.log.info(_("error while shutting down"))
finally: