Remove 5 minute config save timer as it's not really needed and it's
preventing gtkui from starting
This commit is contained in:
parent
65583cfe12
commit
90e05827dd
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from twisted.internet.task import LoopingCall
|
|
||||||
|
|
||||||
import deluge.common
|
import deluge.common
|
||||||
from deluge.log import LOG as log
|
from deluge.log import LOG as log
|
||||||
from deluge.config import Config
|
from deluge.config import Config
|
||||||
|
@ -35,9 +33,6 @@ class _ConfigManager:
|
||||||
log.debug("ConfigManager started..")
|
log.debug("ConfigManager started..")
|
||||||
self.config_files = {}
|
self.config_files = {}
|
||||||
self.__config_directory = None
|
self.__config_directory = None
|
||||||
# Set a 5 minute timer to call save()
|
|
||||||
self.__timer = LoopingCall(self.save)
|
|
||||||
self.__timer.start(300, False)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def config_directory(self):
|
def config_directory(self):
|
||||||
|
|
Loading…
Reference in New Issue