The API occasionally has to retry mongodb operations when creating an image. Based on errors in the last 4 months, this takes place as expected but often go a second over our 10s timeout.
This PR increases the lambda timeout to 20s and the API timeout to 15s to reduce the number of images that end up in our dead letter bucket
Context
The API occasionally has to retry mongodb operations when creating an image. Based on errors in the last 4 months, this takes place as expected but often go a second over our 10s timeout.
This PR increases the lambda timeout to 20s and the API timeout to 15s to reduce the number of images that end up in our dead letter bucket