Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Conversation

@Andrea-Scuderi
Copy link

@Andrea-Scuderi Andrea-Scuderi commented Aug 3, 2019

Hi,
It seems the lambda crashes because of the unwrapped optional.

@Andrea-Scuderi
Copy link
Author

Sorry, it did't solve. It happened again.

@Andrea-Scuderi Andrea-Scuderi reopened this Aug 4, 2019
@Andrea-Scuderi
Copy link
Author

The crash shown in #9 is due to an unhandled try catch.
Fixing this will show the error is related to URLRequest.
Increasing the configuration.timeoutIntervalForRequest to 3600 sec, the lambda will wait for an hour before throwing an error. In theory, if there are no events for more than 20 min the lambda will be killed, so the next start will be cold start.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant