Hi @here, Backend-infra has implemented new feature to enable maintenance mode from your application/services.
Why :
Previously we expect that unhealthy Application Load Balancer target group will automatically trigger response 503 status code to the client. But this behavior was incorrect. So inorder enable maintenance mode Backend-infra created this feature.
What's new :
-m , -maintenance
pass value true/false to enable/disable maintenance mode
TRAVELOKA_MAINTENANCE_MODE=true/false
to enable/disable maintenance mode
Requirements :
For old-monorepo you must use and upgrade these dependencies :
For multi-repo you can use this version :
Please follow this guide in order to enable/disable maintenace mode.
By default the maintenance mode is disabled.
The teams that already implement this feature are :
Thanks all, Happy coding.