forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: [ACI-901] adjust style to pep8
- Loading branch information
Andrii
committed
Apr 10, 2024
1 parent
9cc978f
commit 03a7188
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2707,6 +2707,7 @@ | |
EVENT_BUS_REDIS_CONNECTION_URL = "redis://:[email protected]:6379/" | ||
EVENT_BUS_TOPIC_PREFIX = "dev" | ||
|
||
|
||
def _should_send_learning_badge_events(settings): | ||
return settings.FEATURES['BADGES_ENABLED'] | ||
|
||
|
@@ -2748,7 +2749,7 @@ def _should_send_learning_badge_events(settings): | |
"enabled", | ||
) | ||
|
||
# If the consumer encounters this many consecutive errors, exit with an error. | ||
# If the consumer encounters this many consecutive errors, exit with an error. | ||
# This is intended to be used in a context where a management system (such as Kubernetes) | ||
# will relaunch the consumer automatically. | ||
|
||
|