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
f891c0fa
Commit
f891c0fa
authored
Sep 06, 2017
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce celery heartbeat frequency
parent
d342a562
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
cms/envs/aws.py
+1
-1
cms/envs/yaml_config.py
+1
-1
lms/envs/aws.py
+1
-1
lms/envs/yaml_config.py
+1
-1
No files found.
cms/envs/aws.py
View file @
f891c0fa
...
@@ -62,7 +62,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
...
@@ -62,7 +62,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
# Each worker should only fetch one message at a time
...
...
cms/envs/yaml_config.py
View file @
f891c0fa
...
@@ -107,7 +107,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
...
@@ -107,7 +107,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
# Each worker should only fetch one message at a time
...
...
lms/envs/aws.py
View file @
f891c0fa
...
@@ -73,7 +73,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
...
@@ -73,7 +73,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
# Each worker should only fetch one message at a time
...
...
lms/envs/yaml_config.py
View file @
f891c0fa
...
@@ -130,7 +130,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
...
@@ -130,7 +130,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
# Each worker should only fetch one message at a time
...
...
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