Configurable SIGTERM/SIGKILL time (aka draining)

2 years ago

Completed

2 Replies

2 years ago

Nick is not the first at all to ask for this


2 years ago

Marking this under review - we're going into planning soon. If you're interested in this feature, please upvote the thread!

Status changed to Under Review ray-chen over 2 years ago


notaflyinggoose
HOBBY

2 years ago

please add this 🙏


2 years ago

I actually added this yesterday and it'll be in the changelog this week!

Set RAILWAY_DEPLOYMENT_DRAINING_SECONDS and it'll send a SIGTERM, wait that amount of time, and then send a SIGKILL :)

EDIT: For node you MUST invoke node start directly from Docker. “npm run start” will swallow this signal.

Status changed to Completed jake over 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...