From 06c5affbe7a684cf966fe9fa40b70a41ff38caca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 15 Jan 2026 10:08:40 +0100 Subject: [PATCH] Increase delay for removing stale workflows from 90 to 180 days - Updated `KEEP_INTERVAL` in `CancelStaleWorkflowCronJob` to `P180D`. --- .changes/unreleased/Feature-20260115-100801.yaml | 6 ++++++ .../Service/Workflow/CancelStaleWorkflowCronJob.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Feature-20260115-100801.yaml diff --git a/.changes/unreleased/Feature-20260115-100801.yaml b/.changes/unreleased/Feature-20260115-100801.yaml new file mode 100644 index 000000000..198cd8470 --- /dev/null +++ b/.changes/unreleased/Feature-20260115-100801.yaml @@ -0,0 +1,6 @@ +kind: Feature +body: Increase the delay before removing stale workflow from 90 days to 180 days. +time: 2026-01-15T10:08:01.177391818+01:00 +custom: + Issue: "" + SchemaChange: No schema change diff --git a/src/Bundle/ChillMainBundle/Service/Workflow/CancelStaleWorkflowCronJob.php b/src/Bundle/ChillMainBundle/Service/Workflow/CancelStaleWorkflowCronJob.php index e8b67e0ab..e63459c03 100644 --- a/src/Bundle/ChillMainBundle/Service/Workflow/CancelStaleWorkflowCronJob.php +++ b/src/Bundle/ChillMainBundle/Service/Workflow/CancelStaleWorkflowCronJob.php @@ -23,7 +23,7 @@ class CancelStaleWorkflowCronJob implements CronJobInterface { public const KEY = 'remove-stale-workflow'; - public const KEEP_INTERVAL = 'P90D'; + public const KEEP_INTERVAL = 'P180D'; private const LAST_CANCELED_WORKFLOW = 'last-canceled-workflow-id';