Skip to content

Commit 308ef82

Browse files
committed
Update cleanuptimeout option comment
1 parent 7324ba2 commit 308ef82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Config/queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// seconds of running time after which the worker will terminate (0 = unlimited)
2525
'workermaxruntime' => 0,
2626

27-
// amount of time that a worker will attempt to spend on a cleanup job before timing out
27+
// minimum time (in seconds) which a task remains in the database before being cleaned up.
2828
'cleanuptimeout' => 2000,
2929

3030
// instruct a Workerprocess quit when there are no more tasks for it to execute (true = exit, false = keep running)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ You may create a file called "queue.php" inside your 'APP/Config' folder (NOT th
8888

8989
$config['Queue']['exitwhennothingtodo'] = false;
9090

91-
- Minimum number of seconds before cleanup runs. Defaults to 0 for the Queue worker, or 2592000 for the Cron worker.
91+
- Minimum number of seconds before a cleanup run will remove a completed task. Defaults to 0 for the Queue worker, or 2592000 for the Cron worker.
9292

9393
$config['Queue']['cleanuptimeout'] = 2592000; // 30 days
9494

0 commit comments

Comments
 (0)