Merge pull request #24135 from edx/aehsan/prod-1444/reduce_completion_delay

Completion reduce delayed
This commit is contained in:
adeelehsan
2020-06-05 10:17:59 +05:00
committed by GitHub

View File

@@ -942,3 +942,12 @@ plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_c
########################## Derive Any Derived Settings #######################
derive_settings(__name__)
############## Settings for Completion API #########################
# Once a user has watched this percentage of a video, mark it as complete:
# (0.0 = 0%, 1.0 = 100%)
COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_VIDEO_COMPLETE_PERCENTAGE',
COMPLETION_VIDEO_COMPLETE_PERCENTAGE)
COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_BY_VIEWING_DELAY_MS',
COMPLETION_BY_VIEWING_DELAY_MS)