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

Remove the process timeout in the SuperviseWorkersCommand #7262

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

md-netdesign
Copy link
Contributor

Fixes #7260

The process timeout for the supervisor command and it's workers is removed when invoked via the cron framework to allow for long running messages and prevent orphaned temporary php.ini files, due to the killed worker processes, when the supervisor command is timed out.

The 60 seconds time limit for the workers is not touched, so they will shutdown after 60 seconds or after processing the last messages started before the 60 second limit.

@ausi ausi added this to the 5.3 milestone Jun 4, 2024
@ausi ausi linked an issue Jun 4, 2024 that may be closed by this pull request
@ausi ausi removed the unconfirmed label Jun 4, 2024
@ausi ausi requested a review from Toflar June 4, 2024 06:57
Toflar
Toflar previously approved these changes Jun 4, 2024
@leofeyer leofeyer changed the title Fixes the supervisor / worker process timeout, when used inside contao cron framework Remove the process timeout in the SuperviseWorkersCommand Jun 6, 2024
@leofeyer leofeyer merged commit 908f568 into contao:5.3 Jun 6, 2024
15 of 16 checks passed
@leofeyer
Copy link
Member

leofeyer commented Jun 6, 2024

Thank you @md-netdesign.

@md-netdesign md-netdesign deleted the 5.3 branch June 19, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orphaned temporary ini files in /tmp, when using workers via contao:cron
4 participants