Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
75ca7342
Commit
75ca7342
authored
7 years ago
by
Fred Smith
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #15966 from edx/derf/reduce_celery_heartbeat_frequency
reduce celery heartbeat frequency
parents
a51b9597
f891c0fa
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cms/envs/aws.py
+1
-1
1 addition, 1 deletion
cms/envs/aws.py
cms/envs/yaml_config.py
+1
-1
1 addition, 1 deletion
cms/envs/yaml_config.py
lms/envs/aws.py
+1
-1
1 addition, 1 deletion
lms/envs/aws.py
lms/envs/yaml_config.py
+1
-1
1 addition, 1 deletion
lms/envs/yaml_config.py
with
4 additions
and
4 deletions
cms/envs/aws.py
+
1
−
1
View file @
75ca7342
...
...
@@ -62,7 +62,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
...
...
This diff is collapsed.
Click to expand it.
cms/envs/yaml_config.py
+
1
−
1
View file @
75ca7342
...
...
@@ -107,7 +107,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
...
...
This diff is collapsed.
Click to expand it.
lms/envs/aws.py
+
1
−
1
View file @
75ca7342
...
...
@@ -73,7 +73,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
...
...
This diff is collapsed.
Click to expand it.
lms/envs/yaml_config.py
+
1
−
1
View file @
75ca7342
...
...
@@ -130,7 +130,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.cache:CacheBackend'
# When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped.
BROKER_HEARTBEAT
=
1
0.0
BROKER_HEARTBEAT
=
6
0.0
BROKER_HEARTBEAT_CHECKRATE
=
2
# Each worker should only fetch one message at a time
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment