two instances

I have a bot that I host with railway and sometimes whenever I deploy and try it, it gives me two instances when it’s not supposed to. Why does it do this and how do I prevent it from doing that?
6 Replies
Adam
Adam2y ago
After deploying, two deployments of your app will be active for a set amount of time before the older is shut down Iirc the default amount of time is 2 minutes there’s an environment variable to change the delay, can’t remember what it is though
lucy💫
lucy💫OP2y ago
Oh interesting If you do know the answer, or find it, can you ping me about it?
Adam
Adam2y ago
will do
Percy
Percy2y ago
⚠️ experimental feature
Adam
Adam2y ago
Not helpful, oh well RAILWAY_DEPLOYMENT_OVERLAP_SECONDS voila
Want results from more Discord servers?
Add your server