mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
[Core] Fix unnecessary delay when starting components
This commit is contained in:
parent
edf616baca
commit
ec366c840c
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Component(object):
|
|||
if self._component_state == "Stopped":
|
||||
if hasattr(self, "start"):
|
||||
self._component_state = "Starting"
|
||||
d = deferLater(reactor, 1, self.start)
|
||||
d = deferLater(reactor, 0, self.start)
|
||||
d.addCallbacks(on_start, on_start_fail)
|
||||
self._component_starting_deferred = d
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue