Ask coding questions

← Back to all posts
Does sleep?
jeanenchanted (28)

I'm hosting a Discord bot on I used to use Glitch for this, which sleeps a little too often. Does sleep too after inactivity or does it stay on forever?

Answered by CodingCactus (4331) [earned 5 cycles]
View Answer
CodingCactus (4331)

your repl will sleep after about 30 minutes of inactivity, but to keep it awake, simply host a webserver and ping it with site such as

Coder100 (18903)

Yes it does.
It sleeps after 1 hour, provided you have an HTTP server.

How to fix?


you have to host it on some website like or run it with HTTP servers.