mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 20:56:31 +00:00
revert upload memory change for now
This commit is contained in:
parent
a1d757dfbf
commit
a7868ed3fd
@ -160,7 +160,6 @@ class DelugeGTK:
|
||||
SetConsoleCtrlHandler(win_handler)
|
||||
|
||||
self.dht_timer = 0
|
||||
self.memory_timer = 0
|
||||
self.dht_skip = False
|
||||
|
||||
def connect_signals(self):
|
||||
@ -982,11 +981,6 @@ window, please enter your password"))
|
||||
|
||||
self.update_interface = self.window.get_property("visible") and not \
|
||||
self.is_minimized
|
||||
#save uploaded memory every minute
|
||||
self.memory_timer += 1
|
||||
if (self.memory_timer == 60):
|
||||
self.manager.pre_quitting()
|
||||
self.memory_timer = 0
|
||||
|
||||
# Handle the events
|
||||
self.manager.handle_events()
|
||||
|
Loading…
x
Reference in New Issue
Block a user