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.
refactor: [ACI-901] refactor code to pass ci checks
- Loading branch information
Andrii
committed
Apr 10, 2024
1 parent
1767642
commit 9cc978f
Showing
7 changed files
with
12 additions
and
9 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
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
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 |
---|---|---|
|
@@ -5275,6 +5275,7 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring | |
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'] | ||
|
||
|
@@ -5316,7 +5317,9 @@ def _should_send_learning_badge_events(settings): | |
"enabled", | ||
) | ||
|
||
# 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. | ||
# 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. | ||
#EVENT_BUS_REDIS_CONSUMER_CONSECUTIVE_ERRORS_LIMIT (defaults to None) | ||
|
||
# How long the consumer should wait for new entries in a stream. | ||
|
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