Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: Add read/write constraints to servers. #1505

Merged
merged 6 commits into from Sep 21, 2021
Merged

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Sep 16, 2021

This diff adds read and write timeouts to both the politeiawww and
politeiad servers. Config options are also added to allow these values
to be configurable at runtime.

This diff adds read and write timeouts to both the politeiawww and
politeiad servers as well as adds a read limit to the websocket
connections.
Copy link
Member

@marcopeereboom marcopeereboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the gist but this should be runtime setable because I am sure that once this goes live tor will throw us a curveball.

This diff adds read and write timeouts to both the politeiawww and
politeiad servers. Config options are also added to allow these values
to be configurable at runtime.
@lukebp lukebp merged commit 8627759 into decred:master Sep 21, 2021
@lukebp lukebp deleted the timeouts branch February 6, 2022 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants