It is possible to configure your
IORuntime externally, at runtime.
You can set these as system properties via JVM arguments.
process.env.CATS_EFFECT_PROPNAME = propValue; // alias for compatibility with Create React App process.env.REACT_APP_CATS_EFFECT_PROPNAME = propValue;
|System Property (JVM) / ENV Variable (JS)||Value (default)||Description|
|Whether or not we should detect blocked threads.|
|Whether or not we should check for non-daemon threads on JVM exit.|
|Time to sleep between checking for presence of non-daemon threads.|
|Print a warning message when IOApp |
|Configure how often cancellation is checked. By default, every 512 iterations of the run loop.|
|Augment the stack traces of caught exceptions to include frames from the asynchronous stack traces. See tracing.|
|Number of stack frames retained in the tracing buffer. Will be rounded up to next power of two.|
|If your |
|The starvation checker repeatedly sleeps for this interval and then checks |
|The initial delay before the CPU starvation checker starts running. Avoids spurious warnings due to the JVM not being warmed up yet. Set to |
|The starvation checker will print a warning if it finds that it has been asleep for at least |