7 months ago
My application is not sleeping even after setting Serverless. What could this be? Could this be fixed?
The application is gterp-back
4 Replies
7 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
7 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 7 months ago
7 months ago
hi, serverless apps on railway only sleep after 10 minutes of no outbound traffic including db connections, telemetry, or internal pings. if your app keeps any of those open, it won’t go idle. try closing idle db pools, disabling telemetry, or stopping periodic requests to let it sleep properly.
7 months ago
How to disable Railway telemetry?
7 months ago
To disable Railway's telemetry, you can set the environment variable:
RAILWAY_TELEMETRY_DISABLED=true
How to do it in Railway:
1. Go to your Railway project dashboard.
2. Click on the “Variables” tab.
3. Add a new variable:
Key: RAILWAY_TELEMETRY_DISABLED
Value: true
4. Deploy or restart your service to apply changes.