From 7768480f9fcbcddd9cb47cff461dc6ee12afcb93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mime=20=C4=8Cuvalo?= Date: Sun, 28 Apr 2024 09:13:32 +0100 Subject: [PATCH] hacky cron jobs to keep endpoints warm --- vercel.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..17ffdec --- /dev/null +++ b/vercel.json @@ -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 * * * *" + } + ] +}