diff src/core/sat_main.py @ 1189:7d640c303140

core (disco): added a timeout to get items
author Goffi <goffi@goffi.org>
date Mon, 08 Sep 2014 21:23:21 +0200
parents 8cdb97e89d9b
children 9c17bd37e6e5
line wrap: on
line diff
--- a/src/core/sat_main.py	Mon Sep 08 21:23:21 2014 +0200
+++ b/src/core/sat_main.py	Mon Sep 08 21:23:21 2014 +0200
@@ -288,7 +288,8 @@
                         log.error("error (plugin %(name)s): %(failure)s" %
                                   {'name': plugin_conn_cb[idx][0], 'failure': result})
 
-        yield list_d.addCallback(logPluginResults)
+        yield list_d.addCallback(logPluginResults) # FIXME: we should have a timeout here, and a way to know if a plugin freeze
+        # TODO: mesure time to launch of each plugin
 
     def _authenticateProfile(self, password, profile):
         """Authenticate the profile.