Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Allow user to define keepalive time interval. #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

csdodd
Copy link

@csdodd csdodd commented Aug 2, 2017

The keepalive interval is hardcoded to 55 seconds. This is the same as the connection timeout on Heroku (https://devcenter.heroku.com/articles/request-timeout#long-polling-and-streaming-responses).

This means that connections sometimes timeout unnecessarily because the keepalive intervals are too large. This PR allows a developer to set their own keepalive intervals.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant