You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
Currently the maintenance mode works by writing a file, with some json contents, to the storage folder. This works great for apps deployed on a single server. When an app is scaled horizontally tough, it is a bit harder to put the application down. We'd have to run the down and up command on every server in the cluster, which isn't ideal. Especially in cases where we need to put the app in maintenance mode as soon as possible.
What if we made the storage method for the down command configurable. For instance larger Laravel deployments could use Redis to store the maintenance state. So when you run artisan down, the complete cluster is in maintenance mode.
julienbourdeau, JeroenJochems, ankurk91, amritgc, exzachlyvv and 7 more