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

Stagger poll jobs on startup #21

Open
stephanlensky opened this issue May 24, 2022 · 0 comments
Open

Stagger poll jobs on startup #21

stephanlensky opened this issue May 24, 2022 · 0 comments

Comments

@stephanlensky
Copy link
Owner

If there are a bunch of searches when the application starts, they will all be queued at the same time and execute very close to each other.

We would like to stagger the poll jobs so that they are evenly spread out over the poll interval for each source. This minimizes the peak request frequency to each source and increases the number of searches we can have running before getting IP banned.

@stephanlensky stephanlensky changed the title Stagged poll tasks on startup Stagger poll tasks on startup May 24, 2022
@stephanlensky stephanlensky changed the title Stagger poll tasks on startup Stagger poll jobs on startup May 24, 2022
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

1 participant