Ask coding questions

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

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

Answered by CodingCactus (4331) [earned 5 cycles]
View Answer
Comments
hotnewtop
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 https://uptimerobot.com/

Coder100 (18915)

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

How to fix?
python
node

RYANTADIPARTHI (6034)

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