From 2b9ee25618c88358bd76eead615c8107a8bb105a Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Thu, 22 Mar 2018 16:59:54 -0400 Subject: [PATCH] Clean up unused settings Initially introduced here: https://github.com/edx/edx-platform/commit/e0aa8cf78a1dc342ed4e00082768fb0a400a585f#diff-8a23909bc8d201fba8525b1dd6396247 Rendered irrelevant here: https://github.com/edx/configuration/commit/ece0ea00e9aacb1c1243b65fc1c16c7e7d815b23 --- lms/envs/aws.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lms/envs/aws.py b/lms/envs/aws.py index 2fb3bd977d..7546c9a0ed 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -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 ##############################