stable

Clone or download

Read-only

request #14434: Do not re-queue async events that have reached the maximum execution time

When an async event reaches the maximum execution time (15 minutes), the process is aborted and the async event is scheduled again when the worker process restarts. It is unlikely that what causing the timeout is resolved with the next execution of the event so Tuleap should discard it immediately. Change-Id: Ie2f1f99fe5e14c687d44c2532d7e0d8568f441eb

Modified Files

Name
M src/common/Queue/QueueInstrumentation.php +2 −0 Go to diff View file
M src/common/Queue/Redis/RedisPersistentQueue.php +8 −2 Go to diff View file
M src/common/Queue/TaskWorker/TaskWorker.php +3 −0 Go to diff View file
M src/common/Queue/TaskWorker/TaskWorkerProcess.php +6 −1 Go to diff View file
A src/common/Queue/TaskWorker/TaskWorkerTimedOutException.php +37 −0 Go to diff View file
M src/common/Queue/Worker.php +6 −1 Go to diff View file