Ask coding questions

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

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 (4366) [earned 5 cycles]
View Answer
CodingCactus (4366)

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 (18200)

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.