mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Do not save_state right away, but rather wait for the timer loop
This commit is contained in:
parent
e81d2ea0bd
commit
c54a50af34
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