Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
c25e8361
Commit
c25e8361
authored
8 years ago
by
Jesse Zoldak
Browse files
Options
Downloads
Patches
Plain Diff
Do not retry block structures tasks on bok choy servers
parent
deb9e539
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/envs/bok_choy.py
+11
-0
11 additions, 0 deletions
lms/envs/bok_choy.py
with
11 additions
and
0 deletions
lms/envs/bok_choy.py
+
11
−
0
View file @
c25e8361
...
...
@@ -76,6 +76,17 @@ PIPELINE_JS_COMPRESSOR = None
CELERY_ALWAYS_EAGER
=
True
CELERY_RESULT_BACKEND
=
'
djcelery.backends.cache:CacheBackend
'
BLOCK_STRUCTURES_SETTINGS
=
dict
(
# We have CELERY_ALWAYS_EAGER set to True, so there's no asynchronous
# code running and the celery routing is unimportant.
# It does not make sense to retry.
BLOCK_STRUCTURES_TASK_MAX_RETRIES
=
0
,
# course publish task delay is irrelevant is because the task is run synchronously
BLOCK_STRUCTURES_COURSE_PUBLISH_TASK_DELAY
=
0
,
# retry delay is irrelevent because we never retry
BLOCK_STRUCTURES_TASK_DEFAULT_RETRY_DELAY
=
0
,
)
###################### Grade Downloads ######################
GRADES_DOWNLOAD
=
{
'
STORAGE_TYPE
'
:
'
localfs
'
,
...
...
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