Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Keep-alive in /pods upload #95

Open
sharafian opened this issue Jul 11, 2018 · 0 comments
Open

Keep-alive in /pods upload #95

sharafian opened this issue Jul 11, 2018 · 0 comments
Assignees
Labels
feature request New feature or request

Comments

@sharafian
Copy link

Codiusd doesn't have a timeout on incoming HTTP requests, but lots of them are timing out when the payment size is large or it takes a long time to pull images. This is because nginx returns a 504 when the upstream call takes too long to send data.

We could prevent this by having codiusd send a small amount of data on an interval in order to keep the connection alive. We could use the raw response stream in order to write some insignificant data (like whitespace) and then write the actual JSON response once the request is complete

@traviscrist traviscrist assigned traviscrist and njlie and unassigned traviscrist Jul 11, 2018
@njlie njlie moved this from To do to In progress in Codius 1.3.0 Release Jul 12, 2018
@njlie njlie moved this from In progress to To do in Codius 1.3.0 Release Jul 12, 2018
@njlie njlie moved this from To do to In progress in Codius 1.3.0 Release Jul 12, 2018
@traviscrist traviscrist removed this from In progress in Codius 1.3.0 Release Jul 17, 2018
@spearl spearl added the feature request New feature or request label Jul 23, 2018
@traviscrist traviscrist self-assigned this Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants