Kill old instance right away, don't overlap the instance deploys

So when I deploy a new version of the bot server, I want the old version do shutdown straight away. I don't want it to linger. This is down to how I am communicating to telegram, I can only have one server using a telegram api token at the same time
Solution:
to achieve that, you can set the RAILWAY_DEPLOYMENT_OVERLAP_SECONDS service variable to 0
Jump to solution
5 Replies
Percy
Percy•10mo ago
Project ID: 13314144-b328-475d-867f-a0337164519f
TurboFarmer9000
TurboFarmer9000OP•10mo ago
13314144-b328-475d-867f-a0337164519f
Solution
Fragly
Fragly•10mo ago
to achieve that, you can set the RAILWAY_DEPLOYMENT_OVERLAP_SECONDS service variable to 0
TurboFarmer9000
TurboFarmer9000OP•10mo ago
thank you!
Fragly
Fragly•10mo ago
No problem 🙂
Want results from more Discord servers?
Add your server