Skip to content

Commit

Permalink
Added clarifying comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterl committed Jan 12, 2024
1 parent 515bea0 commit 3af434e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ class InteractiveSynchronousRunManager(

/* Reset the ReadyLatch. */
//this.readyLatch.reset(VIEWER_TIMEOUT_DEFAULT)
/* Since the viewer sends its ready message too early, if we reset the readyLatch here, we will override the previously sent ready and will always run into the timout */
}


Expand Down Expand Up @@ -472,6 +473,7 @@ class InteractiveSynchronousRunManager(
if (taskTemplateId == currentTemplateId) {
val status = this.evaluation.currentTaskRun?.status
// if (status == ApiTaskStatus.PREPARING) {
/* Since the viewer does sent the ready message too early, we cannot care whether the task is (already) preparing or not) */
this.readyLatch.register(viewerInfo) //avoid redying previously untracked viewers
this.readyLatch.setReady(viewerInfo)
// }
Expand Down

0 comments on commit 3af434e

Please sign in to comment.