OpenOptions.hoggerWarningThreshold

Hogger detection threshold.

A hogger is a fiber that does not release the CPU to run other tasks for a long period of time. Often, this is a result of a bug (i.e. - calling the OS's sleep instead of the reactor's).

Hogger detection works by measuring how long each fiber took until it allows switching away. If the fiber took more than hoggerWarningThreshold, a warning is logged.

struct OpenOptions
Duration hoggerWarningThreshold;

Meta