[Core] Fix unnecessary delay when starting components

This commit is contained in:
bendikro 2016-04-21 14:44:48 +02:00
parent edf616baca
commit ec366c840c
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class Component(object):
if self._component_state == "Stopped": if self._component_state == "Stopped":
if hasattr(self, "start"): if hasattr(self, "start"):
self._component_state = "Starting" self._component_state = "Starting"
d = deferLater(reactor, 1, self.start) d = deferLater(reactor, 0, self.start)
d.addCallbacks(on_start, on_start_fail) d.addCallbacks(on_start, on_start_fail)
self._component_starting_deferred = d self._component_starting_deferred = d
else: else: