mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Do not save_state right away, but rather wait for the timer loop
This commit is contained in:
parent
ac66f305e7
commit
430b96f4f5
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class TorrentManager(component.Component):
|
|||
|
||||
# Save the state every 5 minutes
|
||||
self.save_state_timer = LoopingCall(self.save_state)
|
||||
self.save_state_timer.start(200)
|
||||
self.save_state_timer.start(200, False)
|
||||
self.save_resume_data_timer = LoopingCall(self.save_resume_data)
|
||||
self.save_resume_data_timer.start(190)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue