check less frequently for config changes if not using pynotify

This commit is contained in:
j 2013-05-18 22:05:35 +00:00
parent 5f209cf92b
commit 4c990769fd

View file

@ -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