2 years ago
I have a service where 2 deployments are running.
Replica was never changed and is currently at 1.
14 Replies
2 years ago
have you pushed a commit or changed settings recently? There is a deployment overlap time on railway to prevent downtime, this can cause duplicated sessions with things like Discord bots
2 years ago
you can change the overlap time to 0, give me a sec to find the env variable
2 years ago
RAILWAYDEPLOYMENTOVERLAP_SECONDS
Didn't change any settings recently. Just pushed new changes in the codebase.
2 years ago
every time you make a change or a new deploy it will create a new environment, then will wait for an amount of seconds equal to the env variable I posted above, then remove the old environment
2 years ago
As I said in my first message, set the variable RAILWAYDEPLOYMENTOVERLAP_SECONDS to 0 in your service settings
I am not sure we are on the same page. Two deployments are running concurrently right now this moment. Replica is set to 1 and has always been. For some reason there is another replica running. I haven't deployed code in over hours. I guess I had a different timeline in mind when I said "recently"
I can see logs of the same thing its supposed to print twice. From two different replica / deployment id
2 years ago
!t
2 years ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response angelo-railway • over 1 year ago
2 years ago
Hey @tensor8045, I raised the issue over to the support on-call. We will run an investigation as soon as we can.
2 years ago
We were able to identify a container that had not been properly removed, and have stopped it. You should no longer see logs from two instances.
Status changed to Awaiting User Response Railway • over 1 year ago
Status changed to Solved brody • over 1 year ago