kafonek / kernel-sidecar-rs

Kernel Sidecar in Rust
MIT License
11 stars 1 forks source link

iopub takes longer to connect than heartbeat #18

Open kafonek opened 9 months ago

kafonek commented 9 months ago

Noticed this in flaky tests and just when playing around with different connections using main.rs, simply awaiting getting a ping / reply over heartbeat channel doesn't guarantee we'll see the expected messages coming over iopub, namely kernel status messages.

Waiting about 50ms after receiving a heartbeat seems to be a fine workaround for now, but would prefer a more elegant solution.