Struct Reactor.OpenOptions
The options control aspects of the reactor's operation
struct OpenOptions
;
Fields
Name | Type | Description |
---|---|---|
faultHandlersEnabled
|
bool | Whether to enable fault handlers |
fiberStackSize
|
ulong | Stack size of each fiber (except the main fiber). The reactor will allocate numFiber*fiberStackSize during startup |
gcInterval
|
core | How often does the GC's collection run. |
gcRunThreshold
|
ulong | Allocation threshold to trigger a GC run |
hangDetectorTimeout
|
core | Hard hang detection. |
hoggerWarningThreshold
|
core | Hogger detection threshold. |
maxDesiredRunTime
|
core | Maximum desired fiber run time |
numFibers
|
ushort | Maximum number of fibers. |
numThreadsInPool
|
uint | Number of threads servicing deferred tasks |
numTimers
|
ulong | Maximal number of timers that can be simultaneously registered. |
registerDefaultIdler
|
bool | Whether the reactor should register the default (fd processing) idle handler |
threadDeferralEnabled
|
bool | Whether we have enabled deferToThread |
threadStackSize
|
ulong | Worker thread stack size |
timerGranularity
|
core | Base granularity of the reactor's timer. |
utGcDisabled
|
bool | Disable all GC collection during the reactor run time. Only available for UTs. |