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

Limit the processing time of archiving jobs #22979

Open
wants to merge 1 commit into
base: 5.x-dev
Choose a base branch
from
Open

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Jan 24, 2025

Description:

Archiving jobs are supposed to be started at least once a day to ensure that invalidations are correctly processed.

To ensure jobs are not stuck in long running invalidations, preventing the system from starting new jobs and creating invalidations this PR introduces a configurable time limit per job.

The time limit can be set by using the parameter --stop-processing-after=

The default value for now is set to 24 hours. If for any reason longer running jobs are needed, a value of -1 can be provided.

fixes #22973

Review

@sgiehl sgiehl added Needs Review PRs that need a code review Stability For issues that make Matomo more stable and reliable to run for sys admins. labels Jan 24, 2025
@sgiehl sgiehl added this to the 5.3.0 milestone Jan 24, 2025
@sgiehl sgiehl requested a review from a team January 24, 2025 09:48
@sgiehl sgiehl force-pushed the dev-18891 branch 2 times, most recently from 47cd244 to b18fcb4 Compare January 24, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review Stability For issues that make Matomo more stable and reliable to run for sys admins.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Time Limit for Archiving Jobs
2 participants