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
Raising it here for discussion, should we really try to restart a service if canceled by the context and returning context.Canceled? I just wrote some services that basically did:
select {
case<-ctx.Done():
returnctx.Err()
}
which would then have supervisor-go try to restart them, while I think that could be ignored (e.g. if !errors.Is(err, context.Canceled))
WDYT?
The text was updated successfully, but these errors were encountered:
Raising it here for discussion, should we really try to restart a service if canceled by the context and returning context.Canceled? I just wrote some services that basically did:
which would then have supervisor-go try to restart them, while I think that could be ignored (e.g.
if !errors.Is(err, context.Canceled)
)WDYT?
The text was updated successfully, but these errors were encountered: