mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-18 05:50:31 +00:00
[~] Scheduler's interval is now 10 minutes.
This commit is contained in:
parent
a9512014e8
commit
f52696d38a
2
app.py
2
app.py
@ -127,6 +127,6 @@ app.register_blueprint(apiBP)
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
atexit.register(exit_safety)
|
atexit.register(exit_safety)
|
||||||
scheduler = BackgroundScheduler()
|
scheduler = BackgroundScheduler()
|
||||||
scheduler.add_job(generic_executor.scheduled_actions, 'interval', minutes=1)
|
scheduler.add_job(generic_executor.scheduled_actions, 'interval', minutes=10)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
app.run(host='0.0.0.0', port=3000, debug=False)
|
app.run(host='0.0.0.0', port=3000, debug=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user