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 1 year 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 RAILWAYDEPLOYMENTDRAINING_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 1 year ago


Configurable SIGTERM/SIGKILL time (aka draining) - Railway Help Station