How to disable the BlockedThreadChecker of Vert.x?

VertxOptions options = new VertxOptions();
options.setBlockedThreadCheckInterval(1000*60*60);

https://groups.google.com/forum/#!searchin/vertx/BlockedThreadChecker/vertx/MWx8ma7Ig4o/rFqdYdDErtYJ

NOTE: Disable only for debugging. Otherwise issues which can affect the performance of Vert.x can't be located easily.


Alternatively you can add the following system property to the vertx startup script, will set the event loop execute time to 10 seconds (note the input is in NS):

-Dvertx.options.maxEventLoopExecuteTime=10000000000

Tags:

Vert.X