make refresh interval configurable
This commit is contained in:
parent
85094987ab
commit
5d58fdc6f0
2 changed files with 7 additions and 1 deletions
2
service
2
service
|
@ -167,7 +167,7 @@ def main():
|
|||
except Exception:
|
||||
traceback.print_exc()
|
||||
|
||||
time.sleep(20)
|
||||
time.sleep(CONFIG["refresh_interval"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue