We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8490d0e commit f1369a5Copy full SHA for f1369a5
1 file changed
engine/packages/pegboard-runner/src/lib.rs
@@ -240,6 +240,8 @@ impl CustomServeTrait for PegboardRunnerWsCustomServe {
240
}
241
// Clear alloc idx if not evicted
242
else {
243
+ // Eviction implies the replacement connection reused the same runner_id and already
244
+ // rewrote the alloc idx, so clearing here would race the new connection.
245
// Make runner immediately ineligible when it disconnects
246
let update_alloc_res = self
247
.ctx
0 commit comments