Forum Discussion
ChrisWalsh
10 years agoCommunity Member
FORCED_COMMIT_TIME value of 60000 (60k)
When publishing a Storyline 2 course for LMS, the configuration.js file has a setting " FORCED_COMMIT_TIME " which is set to "60000". Am I safe to assume that this is the number of millisecon...
ChrisWalsh
10 years agoCommunity Member
Hi Ashley,
Thanks. That has explained a lot of what is going on (despite being related to Studio '09).
I've checked the lms.js file that SL2 packages up with the course and found:
setInterval("ForceCommit()", 600000);
So,
- SL2 uses a 600000ms (10 minute) interval rather than a 60000ms (1 minute interval)
- SL2 is NOT using the value in
configuration.jsdespite it making sense to do so. - The value is hardcoded in the code rather than in
configuration.js. - There is no option (such as setting the value to 0 like the comment suggests in
configuration.js) to switch off auto-committing. One would have to comment out the line of code inlms.js.
I can propose a change request for the developers to:
- Amend
configuration.jsto set the value ofFORCED_COMMIT_TIMEto600000(10 minutes) in line with a 10 minute interval currently hard coded inlms.js. - Amend
lms.jsto make use of theFORCED_COMMIT_TIMErather than hard coding the value.
This will make it a lot easier (and a lot less misleading) to course builders who wish to customise the forced commit time.
Thanks,
Chris
Related Content
- 27 days ago
- 10 months ago