From 4f45ac2b7d0a86b05123b58d2227b3f2d677ee6b Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Fri, 2 Aug 2024 14:18:44 +0600 Subject: [PATCH] pkp/pkp-lib#9823 update the crontrol job processing via scheduler --- config.TEMPLATE.inc.php | 5 +++++ docs/release-notes/README-3.5.0 | 3 +++ 2 files changed, 8 insertions(+) diff --git a/config.TEMPLATE.inc.php b/config.TEMPLATE.inc.php index afec6b638c..a3c2667642 100644 --- a/config.TEMPLATE.inc.php +++ b/config.TEMPLATE.inc.php @@ -572,6 +572,11 @@ ; memory_limit the server has configured for PHP. job_runner_max_memory = 80 +; Controls whether queued jobs should be processed by the task scheduler. +; This setting has no effect when the job_runner and the [schedule].task_runner are enabled, +; on this situation the jobs will be processed solely by the job runner. +process_jobs_at_task_scheduler = Off + ; Remove failed jobs from the database after the following number of days. ; Remove this setting to leave failed jobs in the database. delete_failed_jobs_after = 180 diff --git a/docs/release-notes/README-3.5.0 b/docs/release-notes/README-3.5.0 index 7813ffc554..2d0567f673 100644 --- a/docs/release-notes/README-3.5.0 +++ b/docs/release-notes/README-3.5.0 @@ -24,6 +24,9 @@ New config.inc.php section for schedule task named schedule is added, with the f - The setting general.scheduled_tasks has been removed. It was supposed to control the schedule tasks but had no impact. +New config.inc.php parameters added for queues: + - process_jobs_at_task_scheduler (default value: Off): Controls whether queued jobs should be executed together with the scheduled tasks. + New Features ------------ #9566 : Convert session and cookie management to Laravel