Skip to content

Use a recurring timer instead of an interval for processJobs.#4

Open
edanaher wants to merge 1 commit into
Admithub-v4.3.1from
avoid-concurrent-process-jobs
Open

Use a recurring timer instead of an interval for processJobs.#4
edanaher wants to merge 1 commit into
Admithub-v4.3.1from
avoid-concurrent-process-jobs

Conversation

@edanaher

Copy link
Copy Markdown

This allows us to delay the next run if the queries take longer than 5 seconds.

Note that this is completely untested; I don't know the build process for this, so it may very well even have syntax errors, and I suspect the date logic is wrong. But it's short enough that I wanted to throw it together and get it out here as a suggestion; I or someone else can try to fix it up next week.

This allows us to delay the next run if the queries take longer than 5 seconds.
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