Skip to content

add random timeout on deny #77

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

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

Conversation

Pofilo
Copy link

@Pofilo Pofilo commented Mar 5, 2025

When I receive a lot of requests, I may want to slow down a little bit (this will delay the next request).

Note that:

  • I'm not familiar with Go (I did not use any linters..)
  • I don't know the consequences of this sleep (will it block other goroutines? how limited is the pool?)

@Pofilo Pofilo force-pushed the add_random_timeout branch from 299f5ac to c3c17ea Compare March 5, 2025 21:46
@Pofilo Pofilo marked this pull request as draft March 5, 2025 21:57
@Pofilo Pofilo marked this pull request as ready for review March 5, 2025 21:59
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.

1 participant