ogn-python/config/default.py

21 wiersze
521 B
Python
Czysty Zwykły widok Historia

SQLALCHEMY_DATABASE_URI = 'sqlite:///beacons.db'
BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
from datetime import timedelta
CELERYBEAT_SCHEDULE = {
'update-receiver-distance': {
'task': 'ogn.collect.heatmap.update_beacon_receiver_distance_all',
'schedule': timedelta(minutes=5),
},
2016-02-03 22:09:11 +00:00
'update-receiver-table': {
2016-02-04 18:18:57 +00:00
'task': 'ogn.collect.receiver.update_receivers',
2016-02-03 22:09:11 +00:00
'schedule': timedelta(minutes=5),
},
}
CELERY_TIMEZONE = 'UTC'