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);