Sleep restriction


Reading the FAQ part about technical restrictions:

Projects sleep after 5 minutes if they are not used, and those running for more than 12 hours are stopped.

I don’t quite get the “12 hours” bit. Does it mean that the container will do a “hard” restart every 12 hours no matter what, and reinstall dependencies etc? If that’s the case, is there a way to mitigate this, since in my case it can cause a downtime of more than a minute…?

Thanks a lot! :pray:


Yes, if your project has been running for 12 hours continuously then we’ll force it to sleep. It’ll wake the next time it receives a http request. Upon waking the project restarts and as part of that dependencies reinstall but they’re cached so it shouldn’t take that long. There’s not a way to avoid this at the moment. In the future, we’ll have a paid-for option to prevent projects from sleeping.


Thanks for the information. Would be cool to have this paid-for option as more people (like me) are starting to bet more and more on Glitch :slightly_smiling_face: