mirror of
https://github.com/GuerillaStudio/compteur-de-greve.git
synced 2024-12-18 05:41:56 +00:00
Update serverless cache duration to 5min
This commit is contained in:
parent
d26dc5ce0a
commit
8a1386c800
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ async function handler(event) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
statusCode: error.httpStatusCode || 500,
|
statusCode: error.httpStatusCode || 500,
|
||||||
|
ttl: 300,
|
||||||
body: JSON.stringify(
|
body: JSON.stringify(
|
||||||
{
|
{
|
||||||
error: error.message,
|
error: error.message,
|
||||||
|
|
Loading…
Reference in a new issue