From 8a942e630644bcf05983a59dd96035af041ac2f8 Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 5 Jul 2022 12:25:30 +0200 Subject: [PATCH] adds FailOnTimeout param --- src/Sqs/Queue.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Sqs/Queue.php b/src/Sqs/Queue.php index 0af1abc..988b069 100644 --- a/src/Sqs/Queue.php +++ b/src/Sqs/Queue.php @@ -94,7 +94,8 @@ private function modifyPayload($payload, $class) $body = [ 'job' => $class . '@handle', 'data' => isset($body['data']) ? $body['data'] : $body, - 'uuid' => $payload['MessageId'] + 'uuid' => $payload['MessageId'], + 'failOnTimeout' => isset($body['failOnTimeout']), ]; $payload['Body'] = json_encode($body);