Skip to content
This repository has been archived by the owner. It is now read-only.

Trim frequency should never be lower than the grace period. #51

Closed
Stebalien opened this issue Jul 30, 2019 · 2 comments · Fixed by #52
Closed

Trim frequency should never be lower than the grace period. #51

Stebalien opened this issue Jul 30, 2019 · 2 comments · Fixed by #52
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@Stebalien
Copy link
Member

Stebalien commented Jul 30, 2019

It's currently a fixed one minute. It should probably be something like graceperiod/2.

@Stebalien Stebalien added the kind/bug A bug in existing code (including security flaws) label Jul 30, 2019
@Stebalien
Copy link
Member Author

Stebalien commented Jul 30, 2019

Actually, it looks like we also trim connections when we receive new ones so this issue shouldn't be all that noticeable.

No we don't.

@Stebalien
Copy link
Member Author

Stebalien commented Jul 30, 2019

cc @swedneck

Stebalien added a commit that referenced this issue Jul 30, 2019
We're still rate-limited to once every 10 seconds. However, this means that
setting the grace period to something below one minute actually _does_ something
useful.

fixes #51
Stebalien added a commit that referenced this issue Jul 30, 2019
We're still rate-limited to once every 10 seconds. However, this means that
setting the grace period to something below one minute actually _does_ something
useful.

fixes #51
Stebalien added a commit that referenced this issue Jul 30, 2019
We're still rate-limited to once every 10 seconds. However, this means that
setting the grace period to something below one minute actually _does_ something
useful.

fixes #51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant