vertx / io.vertx.core / VertxOptions / getMaxWorkerExecuteTime

getMaxWorkerExecuteTime

open fun getMaxWorkerExecuteTime(): Long

Get the value of max worker execute time, in ns.

Vert.x will automatically log a warning if it detects that worker threads haven't returned within this time.

This can be used to detect where the user is blocking a worker thread for too long. Although worker threads can be blocked longer than event loop threads, they shouldn't be blocked for long periods of time.

Return
The value of max worker execute time, in ns.