configurable points per X second part 2

This commit is contained in:
Lili (Tlapka) 2022-09-05 13:20:39 +02:00
parent c4fc1de95c
commit 4a0940b8ff
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def create_app(test_config=None):
give_points_to_chat(get_db())
points_giver = BackgroundScheduler()
points_giver.add_job(proxy_job, 'interval', seconds=10) # change to 10 minutes out of testing
points_giver.add_job(proxy_job, 'interval', seconds=app.config['POINTS_CYCLE_TIME']) # change to 10 minutes out of testing
points_giver.start()
return app