Skip to content

Fix recursive trial polling duplicates#517

Open
csherry04 wants to merge 2 commits into
opencap-org:devfrom
csherry04:fix/497-trials-polling-manual
Open

Fix recursive trial polling duplicates#517
csherry04 wants to merge 2 commits into
opencap-org:devfrom
csherry04:fix/497-trials-polling-manual

Conversation

@csherry04

Copy link
Copy Markdown
Contributor

Fix for #497

Fixes duplicate trial entries caused by overlapping Session page polling.

Prevents multiple trial polling loops from running at once with flag
Stops stale/cancelled polls from updating session state
Makes addTrial() update existing sessions instead of adding them again

@csherry04

Copy link
Copy Markdown
Contributor Author

Updated this PR to broaden the polling clean up beyond just session list.

Calibration and Neutral polling loops are both reworked. Both pages now cancel any scheduled poll before starting a new attempt

Should fix error message stacking as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant