algora-io / tv

Open source Twitch for developers
https://algora.tv
GNU Affero General Public License v3.0
867 stars 48 forks source link

Gracefuldeployments #85

Closed aybanda closed 1 week ago

aybanda commented 1 week ago

/claim #78

Description

This PR implements a graceful shutdown process for Fly.io deployments to ensure livestreams are not interrupted during updates.

Changes

How to test

  1. Ensure you have Fly.io CLI installed and are logged in
  2. Run the demo script:
    ./scripts/demo-deployment.sh
  3. Observe that the livestream remains uninterrupted during deployment

Checklist

Additional Notes

Please review the demo-deployment.sh script and suggest any improvements or additional checks should include.

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.