You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovery::publish is currently a one-off sync function calls and async publish impls are expected to start their own task with tokio::task::spawn. This means those tasks cannot be aborted when the magic endpoint shuts down.
Instead we should either pass a cancellation token or a JoinSet to spawn tasks into.
Discovery::publish
is currently a one-off sync function calls and async publish impls are expected to start their own task withtokio::task::spawn
. This means those tasks cannot be aborted when the magic endpoint shuts down.Instead we should either pass a cancellation token or a
JoinSet
to spawn tasks into.See also this discussion: #2056 (comment)
The text was updated successfully, but these errors were encountered: