Skip to content

Add pilot hooks for periodic jobs#934

Merged
brandur merged 2 commits into
masterfrom
brandur-pilot-periodic-jobs
Jun 4, 2025
Merged

Add pilot hooks for periodic jobs#934
brandur merged 2 commits into
masterfrom
brandur-pilot-periodic-jobs

Conversation

@brandur

@brandur brandur commented May 28, 2025

Copy link
Copy Markdown
Contributor

Add pilot hooks for periodic jobs, thereby giving River plugins the
capability to extend certain parts of the periodic job enqueuer.

@brandur brandur force-pushed the brandur-pilot-periodic-jobs branch 7 times, most recently from 278dcc8 to 3f9a596 Compare June 4, 2025 00:51
Add pilot hooks for periodic jobs, thereby giving River plugins the
capability to extend certain parts of the periodic job enqueuer.
@brandur brandur force-pushed the brandur-pilot-periodic-jobs branch from 3f9a596 to 8ade8c8 Compare June 4, 2025 04:51
Change durable periodic jobs so that instead of doing a single removal
pass after initial leader election, the leader periodically bumps the
`updated_at` timestamp of known periodic jobs while simultaneously
removing any jobs that haven't been seen in a configurable period,
making it very similar to how the producer keep alives work.
@brandur brandur force-pushed the brandur-pilot-periodic-jobs branch from 88ebbf6 to a1852d3 Compare June 4, 2025 15:04
@brandur

brandur commented Jun 4, 2025

Copy link
Copy Markdown
Contributor Author

thx.

@brandur brandur merged commit 0cd67e5 into master Jun 4, 2025
10 checks passed
@brandur brandur deleted the brandur-pilot-periodic-jobs branch June 4, 2025 15:14
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.

2 participants