Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
65d4b76d
Commit
65d4b76d
authored
Feb 09, 2017
by
syed-awais-ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ttl removed from yaml config and default value addedto aws
parent
95c6edd1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
12 deletions
+6
-12
cms/envs/aws.py
+3
-3
cms/envs/yaml_config.py
+0
-3
lms/envs/aws.py
+3
-3
lms/envs/yaml_config.py
+0
-3
No files found.
cms/envs/aws.py
View file @
65d4b76d
...
...
@@ -65,9 +65,6 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT
=
10.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL
=
10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER
=
1
...
...
@@ -366,6 +363,9 @@ BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
CELERY_BROKER_VHOST
)
BROKER_USE_SSL
=
ENV_TOKENS
.
get
(
'CELERY_BROKER_USE_SSL'
,
False
)
# Message expiry time in seconds
CELERY_EVENT_QUEUE_TTL
=
ENV_TOKENS
.
get
(
'CELERY_EVENT_QUEUE_TTL'
,
None
)
# Allow CELERY_QUEUES to be overwritten by ENV_TOKENS,
ENV_CELERY_QUEUES
=
ENV_TOKENS
.
get
(
'CELERY_QUEUES'
,
None
)
if
ENV_CELERY_QUEUES
:
...
...
cms/envs/yaml_config.py
View file @
65d4b76d
...
...
@@ -110,9 +110,6 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT
=
10.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL
=
10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER
=
1
...
...
lms/envs/aws.py
View file @
65d4b76d
...
...
@@ -74,9 +74,6 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT
=
10.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL
=
10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER
=
1
...
...
@@ -265,6 +262,9 @@ BULK_EMAIL_ROUTING_KEY_SMALL_JOBS = ENV_TOKENS.get('BULK_EMAIL_ROUTING_KEY_SMALL
# Queue to use for updating persistent grades
RECALCULATE_GRADES_ROUTING_KEY
=
ENV_TOKENS
.
get
(
'RECALCULATE_GRADES_ROUTING_KEY'
,
LOW_PRIORITY_QUEUE
)
# Message expiry time in seconds
CELERY_EVENT_QUEUE_TTL
=
ENV_TOKENS
.
get
(
'CELERY_EVENT_QUEUE_TTL'
,
None
)
# Allow CELERY_QUEUES to be overwritten by ENV_TOKENS,
ENV_CELERY_QUEUES
=
ENV_TOKENS
.
get
(
'CELERY_QUEUES'
,
None
)
if
ENV_CELERY_QUEUES
:
...
...
lms/envs/yaml_config.py
View file @
65d4b76d
...
...
@@ -133,9 +133,6 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
BROKER_HEARTBEAT
=
10.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Message expiry time in seconds, Default is 5 seconds
CELERY_EVENT_QUEUE_TTL
=
10
# Each worker should only fetch one message at a time
CELERYD_PREFETCH_MULTIPLIER
=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment