AshciR / group-chat-digest

0 stars 0 forks source link

[SPIKE] Pause updates while bot is deploying #46

Open AshciR opened 5 months ago

AshciR commented 5 months ago

During deployments of newer versions, ECS slowly decommissions the previous versions. This causes our application to temporarily have multiple instances running simultaneously. Resulting in the following error:

2024-05-10 14:29:34,083 - telegram.ext.Updater - ERROR - Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running

The Ask: Determine a way to pause updates on the service that throws a conflict

Suggestions: