Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adjust SQS visibility timeout to appropriate value #451

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raihalea
Copy link

Issue #, if available:

Description of changes:

When connecting SQS with Lambda, it is recommended to set the visibility timeout to six times the Lambda function's timeout value. The visibility timeout should be at least longer than the Lambda function's timeout multiplied by the number of retries.
https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html

(JP)
SQSとLambdaを接続する場合にはLambdaのタイムアウトの6倍の値を可視性タイムアウトにすることが推奨されています。
少なくともLambdaのタイムアウト*試行回数より長い可視性タイムアウトを取る必要があります。

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant