check less frequently for config changes if not using pynotify
This commit is contained in:
parent
5f209cf92b
commit
4c990769fd
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def reloader_thread():
|
||||||
if mtime > _config_mtime:
|
if mtime > _config_mtime:
|
||||||
load_config()
|
load_config()
|
||||||
_config_mtime = mtime
|
_config_mtime = mtime
|
||||||
time.sleep(1)
|
time.sleep(10)
|
||||||
except:
|
except:
|
||||||
#sys.stderr.write("reloading config failed\n")
|
#sys.stderr.write("reloading config failed\n")
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue