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

Make HTTP requests nice #15

Open
kalabukdima opened this issue Sep 10, 2024 · 2 comments
Open

Make HTTP requests nice #15

kalabukdima opened this issue Sep 10, 2024 · 2 comments
Assignees

Comments

@kalabukdima
Copy link
Collaborator

  • Don't aggressively retry failed HTTP requests to not cause traffic growth.
  • Respect response headers, like Retry-After.
  • Forbid redirects.
@kalabukdima kalabukdima self-assigned this Sep 10, 2024
@mo4islona
Copy link

  • Add User-Agent header

@kalabukdima
Copy link
Collaborator Author

Just checked accidentally, the worker is sending 30 requests per second and dumps 1MB of logs per minute if requests are immediately failing.

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

No branches or pull requests

2 participants