Vaadin server side heartbeats
<p>In a vaadin application, I know that the client side javascript sends heartbeats to the server and I can configure the interval by adding following to the web.xml</p>

<pre><code>&lt;context-param&gt;
    &lt;param-name&gt;heartbeatInterval&lt;/param-name&gt;
    &lt;param-value&gt;5&lt;/param-value&gt;
&lt;/context-param&gt;
</code></pre>

<p>I think the server also sends heartbeats to the client side because if the server hits a breakpoint and waits for some time on the breakpoint, client side shows that the session expired.</p>

<p>Is it possible to specify a different heartbeat interval for the server to client heartbeats, compared to the heartbeat interval of client to server heartbeats?</p>

<p>Also, <a href="https://vaadin.com/wiki/-/wiki/Main/Cleaning+up+resources+in+an+UI" rel="nofollow">documentation</a> says that server will close a UI if 3 heartbeats are missed. Is it possible to change this maximum heartbeat miss count?</p>

<p>(One might think that the same effect of increasing max heartbeat count can be achieved by increasing the heartbeat interval. But, I use the client heartbeats for some other purpose in my application, so increasing the heartbeat interval is not an option for me)</p>