preparation for configurable points
This commit is contained in:
parent
d80ea74a29
commit
aa7a53342f
|
@ -25,7 +25,7 @@ def create_app(test_config=None):
|
||||||
give_points_to_chat(get_db())
|
give_points_to_chat(get_db())
|
||||||
|
|
||||||
points_giver = BackgroundScheduler()
|
points_giver = BackgroundScheduler()
|
||||||
points_giver.add_job(proxy_job, 'interval', seconds=10)
|
points_giver.add_job(proxy_job, 'interval', seconds=10) # change to 10 minutes out of testing
|
||||||
points_giver.start()
|
points_giver.start()
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
SECRET_KEY='dev'
|
SECRET_KEY='dev'
|
||||||
DATABASE='./instance/tlapbot.sqlite'
|
DATABASE='./instance/tlapbot.sqlite'
|
||||||
OWNCAST_ACCESS_TOKEN=''
|
OWNCAST_ACCESS_TOKEN=''
|
||||||
OWNCAST_INSTANCE_URL='http://localhost:8080'
|
OWNCAST_INSTANCE_URL='http://localhost:8080'
|
||||||
|
POINTS_PER_10_MINUTES=10
|
Loading…
Reference in New Issue