Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add optional connection timeout to HTTP API configuration #231
The main problem is that from the browser, keep alives go through and you end up opening a ton of connections and hitting the file limit. I wanted this just from a practical standpoint. However, this bug is moot since it's already been done: https://github.com/influxdb/influxdb/blob/master/config.sample.toml#L36
I think we're going to leave this for clients to take care of for now. Due to the possibility of a client reusing connections when writing (not currently possible when querying), I don't think we should set a timeout. We also have #6559 for enforcing a connection limit to ensure that the server doesn't open too many ports.
Closing due to inactivity.