title: Set individual timeouts in VertX per request
body: <p>Is it possible to set individual timeouts per request in VertX?</p>
  
  <p>Doing this,</p>
  
  <pre><code>val vertx = Vertx.vertx(VertxOptions().setMaxWorkerExecuteTime(15000))
  </code></pre>
  
  <p>sets the timeout for all requests.
  Certain things like huge reports needs a bit more than the default 30 seconds.</p>
  
  <p>This is what I'm currently doing (simplified):</p>
  
  <pre><code>val vertx = Vertx.vertx()
  val router = Router.router(vertx)
  
  router.route(url).handler { rtx -&gt;
      rtx.request().bodyHandler { btx -&gt;
          rtx.vertx().executeBlocking&lt;RestResponse&gt;({ block -&gt;
  
              val timer = timer(period = 150000) {
                  block.fail("timeout")
              }
  
              ... blocking code here ...
  
              timer.cancel()
              block.complete(res)
  
          }, { block -&gt;
  
  
          }
      }
  }
  </code></pre>
  
  <p>Is there an official way to this in VertX or should the above be fine?</p>