Commit d50302d1 by Guba Sándor

settings: adding default memcached config

parent b69df995
...@@ -311,10 +311,11 @@ VM_SCHEDULER = 'manager.scheduler' ...@@ -311,10 +311,11 @@ VM_SCHEDULER = 'manager.scheduler'
BROKER_URL = get_env_variable('AMQP_URI') BROKER_URL = get_env_variable('AMQP_URI')
# Set up periodic firewall tasks BROKER_URL=get_env_variable('AMQP_URI')
CELERYBEAT_SCHEDULE = {
'blabla': { CACHES = {
'task': 'firewall.tasks.local_tasks.periodic_task', 'default': {
'schedule': timedelta(seconds=5), 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
}, 'LOCATION': '127.0.0.1:11211',
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment