Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1450479600 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[10:37:32] <AlexLehm> I have a bug where the dns resolution blocks the event loop if it takes long, I wonder if it would be better to use the dns classes from vert.x or to wrap the java inet class in a executeblocking call
 +
 +[10:41:51] <AlexLehm> I wonder how I can write a unit test for that, hm
 +
 +[13:26:23] *** ChanServ sets mode: +o temporalfox
 +
 +[14:46:49] <Sticky_> AlexLehm: if it ultimately goes through InetAddress.getByName, you could use powermock to replace the method with something that just blocks for a while
 +
 +[15:09:34] <AlexLehm> ok, that sounds like a good idea, I have to get more into the mocking stuff
 +
 +[22:13:25] <robal> hi guys, does anyone know if it's possible to enable livereload when building vertx-web applications?
 +
 +[23:36:01] <robal> well, I knind of figured it out, but now vertx is still caching my files, preventing me from reloading my new changes
 +
 +[23:56:26] <robal> allright, i figured it out, this doesn't work: StaticHandler.create().setWebRoot("web").setCachingEnabled(true)
 +
 +[23:57:28] <robal> setCachingEnabled doesn't seem to do anything, true/false acts the same