core (disco): added a timeout to get items

This commit is contained in:
Goffi 2014-09-08 21:23:21 +02:00
commit 85b3c92376

View file

@ -288,7 +288,8 @@ class SAT(service.Service):
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.