Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Allow DelaySeconds to be specified in SubmitTaskInput #7

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

freakyfelt
Copy link
Contributor

SQS does provide the ability to delay visibility of a message by up to 15 minutes[1]. This change exposes this capability with an optional delaySeconds argument in payloads for both submitTask and submitAllTasks.

  • add delaySeconds?: number to SubmitTaskInput
  • map delaySeconds to DelaySeconds in calls in SQS Client
  • provide a sanity check for delaySeconds in NoopClient

[1] https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html

SQS does provide the ability to delay visiblity of a mesage by up to 15 minutes[1]. This change exposes this capability
with an optional delaySeconds argument in payloads for both submitTask and submitAllTasks.

* add delaySeconds?: number to SubmitTaskInput
* map delaySeconds to DelaySeconds in calls in SQS Client
* provide a sanity check for delaySeconds in NoopClient

[1] https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html
@freakyfelt freakyfelt merged commit a5f8e4a into master Jul 12, 2019
@freakyfelt freakyfelt deleted the bruce/allow-delay-seconds branch July 12, 2019 11:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants