Skip to content
Snippets Groups Projects
Unverified Commit 97151ae4 authored by Eric Fischer's avatar Eric Fischer Committed by GitHub
Browse files

Merge pull request #17761 from edx/efischer/EDUCATOR-2456

Delete some unused settings
parents fa90d6e6 2b9ee256
No related branches found
No related tags found
No related merge requests found
......@@ -100,15 +100,6 @@ CELERY_QUEUES = {
}
CELERY_ROUTES = "{}celery.Router".format(QUEUE_VARIANT)
# If we're a worker on the high_mem queue, set ourselves to die after processing
# one request to avoid having memory leaks take down the worker server. This env
# var is set in /etc/init/edx-workers.conf -- this should probably be replaced
# with some celery API call to see what queue we started listening to, but I
# don't know what that call is or if it's active at this point in the code.
if os.environ.get('QUEUE') == 'high_mem':
CELERYD_MAX_TASKS_PER_CHILD = 1
CELERYBEAT_SCHEDULE = {} # For scheduling tasks, entries can be added to this dict
########################## NON-SECURE ENV CONFIG ##############################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment