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

Increase lambda timeout to 10 seconds #1069

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Increase lambda timeout to 10 seconds #1069

merged 1 commit into from
Dec 7, 2024

Conversation

MinhxNguyen7
Copy link
Member

Summary

  • We were having some timeouts on save, possibly because our DB queries were taking longer than the previous five-second limit.
  • Manually increasing the limit on the current deployment fixed the issue.
  • The problem might be that, with auto-save, we send multiple requests that have to written and overwritten sequentially, and the "queue time" can exceed five seconds.

Future Follow-Up

  • Have a timer so we don't auto-save every action.
  • Somehow cancel the previous update to a schedule if a new one comes in. Not sure how this is possible.

Copy link
Member

@ecxyzzy ecxyzzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we really gotta fix the test erroring at some point...

@ecxyzzy ecxyzzy merged commit 7bee1c2 into main Dec 7, 2024
3 of 4 checks passed
@ecxyzzy ecxyzzy deleted the longer-lambda branch December 7, 2024 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants