title: Vertx SocketJS disconnects after few seconds of server being busy
body: <p>Need some help understanding on where disconnects occur (SocketJS, Vertx) and how timeouts can be configured.</p>
  
  <p>I am creating <em>SockJSServer</em> along with creating eventBus bridge. Problem that I observer is frequent WebSocket connection disconnects. Looking at the websocket frames, I see pings every 5 seconds and heart-beats what I configured every 1/2 sec(what seem to take effect). However, once heart beats are being delayed for longer then 5 second disconnects comes with message  <em>c[3000,'Go away']</em>. As observed it happens when server is busy(doing something else on separate thread).</p>
  
  <p>I have searched Vertx documentation and looked over vertx code and found few configuration parameter(which appear to be different across versions and documentation).  </p>
  
  <pre><code>.putNumber("ping_interval", 120000)
                      .putNumber("session_timeout", 1200000)
                      .putNumber("heartbeat_period",500)
  </code></pre>
  
  <p>To be absolutely sure, I have tried different config that did not appear to have any impact. At this point, I think I have reached dead wall and need some help.</p>
  
  <p>Vertx version 2.1P3</p>
  
  <p>Server snipet</p>
  
  <pre><code>final SockJSServer server = vertx.createSockJSServer(httpServer);
  server.bridge(new JsonObject().putString("prefix", "/eventbus")
                      .putNumber("ping_interval", 120000)
                      .putNumber("session_timeout", 1200000)
                      .putNumber("heartbeat_period",500),
  new JsonArray().addObject(new JsonObject()),
  new JsonArray().addObject(new JsonObject()));
  </code></pre>
  
  <p>Client code:</p>
  
  <pre><code>var eventBus = new EventBus('//hostX:12001/eventbus');
  </code></pre>