Agreed. We have a larger window so that we can adaptively ping (when the client isn't very active, we don't ping as often). We're not making chat though.
If you do want timeouts like this, an alternative is to handle this on the application layer, and not rely on nginx to drop connections.
If you do want timeouts like this, an alternative is to handle this on the application layer, and not rely on nginx to drop connections.