How to check if project is down, if so, return

Glitch projects send a SIGTERM signal to the container right before they are put to sleep, your app then has 5 seconds to process that before being shutdown.
Source: End execution signal - #2 by etamponi

2 Likes