Serverless application is not sleeping
guilhermeteche
HOBBYOP

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

$10 Bounty

4 Replies

Railway
BOT

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!


brody
EMPLOYEE

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


turborx
FREE

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.


guilhermeteche
HOBBYOP

7 months ago

How to disable Railway telemetry?


rohitpatil7892
FREE

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.


Loading...