sleep app on inactivity

sayanmondal13m
TRIAL

9 months ago

if I host my node.js backend in railway then if some time of inactivity I mean if no user visit my website then can my backend goes sleep mode automatically and start when a request come. because if backend goes sleep then my user have to wait who come first after inactivity.

Solved

1 Replies

9 months ago

Hello,

Yes, we do support that, it's called "App Sleeping" and it's disabled by default even on trial accounts.

https://docs.railway.com/reference/app-sleeping


Status changed to Awaiting User Response Railway 9 months ago


Status changed to Solved brody 9 months ago