Has anyone had issues with their app redeploying?
inclub
HOBBYOP

10 months ago

I'm using websockets and my application seems to deploy again out of nowhere, which causes tasks that had already been scheduled to be performed twice.

Solved$10 Bounty

2 Replies

smolpaw
HOBBY

10 months ago

A service can redeploy for various reasons, your app crashed, bad host, network failures, etc.

You should be persisting the state of the tasks i.e. completed, in-progress, pending in some db or local storage with a volume and not in memory. that's just bad practice.

So your app knows which tasks has already been done and to not do it again.


10 months ago

Not a common occurence, unless there's a banner on top of your deployment card stating that it was a 'Railway initiated deployment'


Status changed to Solved chandrika 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...