From 73e1e0934e1c53f3761d275c5389fe982f9711a5 Mon Sep 17 00:00:00 2001 From: adeelehsan Date: Wed, 3 Jun 2020 21:27:17 +0500 Subject: [PATCH] Completion reduce delayed PROD-1444 --- lms/envs/production.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lms/envs/production.py b/lms/envs/production.py index a98a5764c5..903e02e258 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -944,3 +944,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)