We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5351678 + 2359d8f commit 9fa4cf4Copy full SHA for 9fa4cf4
2 files changed
src/messaging/event.js
@@ -40,7 +40,7 @@ export function receiveDlqMessages() {
40
const command = new ReceiveMessageCommand({
41
QueueUrl: deadLetterQueueUrl,
42
MaxNumberOfMessages: 10,
43
- VisibilityTimeout: 1,
+ VisibilityTimeout: 0,
44
WaitTimeSeconds: 0
45
})
46
return sqsClient.send(command)
src/messaging/event.test.js
@@ -68,7 +68,7 @@ describe('event', () => {
68
await receiveDlqMessages()
69
expect(snsMock).toHaveReceivedCommandWith(ReceiveMessageCommand, {
70
QueueUrl: expect.any(String),
71
72
73
74
0 commit comments