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
It seems like one possible use of pollcatch would be to detect polls that never return, and do some kind of recovery or alerting operation, such as emitting an alert event. Possibly there could be a separate Tokio task for detecting instances of before_poll_hook being called more than some configurable amount of time in the past, for which after_poll_hook has not yet been called.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like one possible use of
pollcatchwould be to detect polls that never return, and do some kind of recovery or alerting operation, such as emitting an alert event. Possibly there could be a separate Tokio task for detecting instances ofbefore_poll_hookbeing called more than some configurable amount of time in the past, for whichafter_poll_hookhas not yet been called.Does that seem feasible?
Beta Was this translation helpful? Give feedback.
All reactions