Skip to content

Commit

Permalink
Merge branch '6.3' into 6.4
Browse files Browse the repository at this point in the history
* 6.3:
  [Validator] added missing Spanish translations
  [Messenger] Amazon SQS Delay has a max of 15 minutes
  Add missing translations using ChatGPT
  [Validator] added missing Finnish, Italian, and Serbian Cyryllic translations
  Add .github/sync-translations.php
  • Loading branch information
nicolas-grekas committed Jan 7, 2024
2 parents bdbbc05 + c147198 commit fcdc960
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Transport/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ public function send(string $body, array $headers, int $delay = 0, string $messa
$parameters = [
'QueueUrl' => $this->getQueueUrl(),
'MessageBody' => $body,
'DelaySeconds' => $delay,
// Maximum delay is 15 minutes. See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-timers.html.
'DelaySeconds' => min(900, $delay),
'MessageAttributes' => [],
'MessageSystemAttributes' => [],
];
Expand Down

0 comments on commit fcdc960

Please sign in to comment.