Skip to content

Commit cd3e5a8

Browse files
committed
add comments reflecting the reasoning behind the workaround
1 parent 2d02768 commit cd3e5a8

File tree

1 file changed

+3
-0
lines changed
  • contentcuration/contentcuration/frontend/channelEdit/vuex/assessmentItem

1 file changed

+3
-0
lines changed

contentcuration/contentcuration/frontend/channelEdit/vuex/assessmentItem/actions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { isNodeComplete } from 'shared/utils/validation';
33
import db from 'shared/data/db';
44
import { TABLE_NAMES } from 'shared/data/constants';
55

6+
// We implement a retry mechanism to ensure that we wait for retrival of contentnode
7+
// when all the nodes for the
8+
// currently displayed topic in the tree view are reloaded
69
function updateNodeComplete(nodeId, context, maxTries = 10, delayMs = 100) {
710
let tries = 0;
811

0 commit comments

Comments
 (0)