Ask coding questions

← Back to all posts
Bot restarts
h
caseyniblett

Hi everyone,

So i know that replit will eventually sleep due to inactivity - i did what some have recommended and set up an uptime robot to ping the server every 5 minutes.

I left this and was fine for 3 hours before it said it went down.

I changed the port to something random "123" and now its working again?

will it only work for 3 hours regardless - im confused.

Voters
caseyniblett
Comments
hotnewtop
ch1ck3n

since i see that you have hacker plan, go click on your repl's name and turn on "always on".

caseyniblett

@ch1ck3n thanks for your suggestions but I've tried this already, it still eventually sleeps and then instantly restarts.

In most cases this would be great but my code needs to wait a set time during its process. If it restarts ever then this timing would be off