Skip to content

visibility timeout is set to the same value as lambda timeout #5193

Description

@thomasnemer

From AWS docs here about SQS event source mapping :


"Batch window
The maximum amount of time to gather records before invoking the function, in seconds.

This applies only to standard queues.

If you're using a batch window greater than 0 seconds, you must account for the increased processing time in your queue's visibility timeout.

We recommend setting your queue's visibility timeout to six times your function timeout, plus the value of MaximumBatchingWindowInSeconds."


However here the visibility timeout is explicitly set to the same value as the function timeout.

I couldn't find if those values were the same on purpose or not, should the visibility timeout be exposed to the user or internally set to the value advised by AWS docs?

Activity

  1. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions