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
95c6edd1
Commit
95c6edd1
authored
Feb 09, 2017
by
syed-awais-ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added ttl setting
parent
7d320f7e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
cms/envs/aws.py
+3
-0
cms/envs/yaml_config.py
+3
-0
lms/envs/aws.py
+3
-0
lms/envs/yaml_config.py
+3
-0
No files found.
cms/envs/aws.py
View file @
95c6edd1
...
...
@@ -65,6 +65,9 @@ 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
...
...
cms/envs/yaml_config.py
View file @
95c6edd1
...
...
@@ -110,6 +110,9 @@ 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 @
95c6edd1
...
...
@@ -74,6 +74,9 @@ 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/yaml_config.py
View file @
95c6edd1
...
...
@@ -133,6 +133,9 @@ 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