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

Fix: Random Crash #9#10

Open
Andrea-Scuderi wants to merge 3 commits into
tonisuter:masterfrom
Andrea-Scuderi:master
Open

Fix: Random Crash #9#10
Andrea-Scuderi wants to merge 3 commits into
tonisuter:masterfrom
Andrea-Scuderi:master

Conversation

@Andrea-Scuderi

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

Copy link
Copy Markdown

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

@Andrea-Scuderi

Copy link
Copy Markdown
Author

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

@Andrea-Scuderi Andrea-Scuderi reopened this Aug 4, 2019
@Andrea-Scuderi

Copy link
Copy Markdown
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