Skip to main content

DEFAULT_INVOKE_TIMEOUT_MS

Constant DEFAULT_INVOKE_TIMEOUT_MS 

Source
pub const DEFAULT_INVOKE_TIMEOUT_MS: u64 = 2000;
Expand description

Default budget for a debuggee invocation, in milliseconds.

A toString() that cannot answer in two seconds is not worth freezing a shared JVM for, and the alternative measured 30-40s against a real WildFly before the event loop’s generic reply timeout gave up. Deliberately far below that timeout so an invocation is bounded by this budget, not by it.