Skip to content

feat: stop periodic jobs for idle repos#313

Draft
joshfriend wants to merge 1 commit into
mainfrom
jfriend/idle-periodic-jobs
Draft

feat: stop periodic jobs for idle repos#313
joshfriend wants to merge 1 commit into
mainfrom
jfriend/idle-periodic-jobs

Conversation

@joshfriend
Copy link
Copy Markdown
Contributor

Repos that haven't had a client request in 24h (configurable via idle-timeout) no longer re-arm their snapshot/repack periodic jobs. When a request arrives for an idle repo, the jobs are re-scheduled.

@joshfriend joshfriend force-pushed the jfriend/idle-periodic-jobs branch from 5d008ba to 6a23a63 Compare May 16, 2026 00:28
@joshfriend joshfriend changed the title Stop periodic jobs for idle repos feat: stop periodic jobs for idle repos May 18, 2026
@joshfriend joshfriend force-pushed the jfriend/idle-periodic-jobs branch 2 times, most recently from f1211f4 to ca745d7 Compare May 18, 2026 15:30
Repos that haven't had a client request in 24h (configurable via
idle-timeout) no longer re-arm their snapshot/repack periodic jobs.
When a request arrives for an idle repo, the jobs are re-scheduled.
@joshfriend joshfriend force-pushed the jfriend/idle-periodic-jobs branch from ca745d7 to 0c3b5af Compare May 18, 2026 16:10
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