definewater
HOBBY
a year ago
Hey guys im currently using Laravel 10. And i am trying to use the "sleep" feature but when my app is sleeping, and if i do a get request it will take some time to spin up (expected) but then it wil throw a NGINX problem shown on the screenshot below.
any idea?
0 Replies
a year ago
are you using a health check?
a year ago
try implementing a readiness health check
a year ago
you are doing the exact opposite of what i said, you always want to have a health check, preferably not /
though
a year ago
a proper readiness health check is going to be best, not just return 200, check if you are connected to the database and such