Skip to content

Commit

Permalink
hacky cron jobs to keep endpoints warm
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Apr 28, 2024
1 parent 7978762 commit 7768480
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"crons": [
{
"path": "/?keep-warm-cron-job",
"schedule": "*/4 * * * *"
},
{
"path": "/?keep-warm-cron-job",
"schedule": "*/4 * * * *"
},
{
"path": "/api/graphql?keep-warm-cron-job",
"schedule": "*/4 * * * *"
},
{
"path": "/api/graphql?keep-warm-cron-job",
"schedule": "*/4 * * * *"
}
]
}

0 comments on commit 7768480

Please sign in to comment.