Clean up unused settings

Initially introduced here:
  e0aa8cf78a (diff-8a23909bc8d201fba8525b1dd6396247)

Rendered irrelevant here:
  ece0ea00e9
This commit is contained in:
Eric Fischer
2018-03-22 16:59:54 -04:00
parent 32863e4463
commit 2b9ee25618

View File

@@ -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 ##############################