Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Postgres downtime better #480

Merged
merged 11 commits into from
Jan 3, 2017
Merged

Handle Postgres downtime better #480

merged 11 commits into from
Jan 3, 2017

Conversation

Changaco
Copy link
Member

@Changaco Changaco commented Jan 2, 2017

This PR fixes postgres autostart (#462 was flawed), but more importantly it modifies Liberapay to keep running and serving both static resources and proper error pages when the DB is down.

With this in place I think a few minutes of downtime to upgrade postgres will be acceptable, which will allow me to push back setting up zero-downtime upgrades to later.

@Changaco Changaco added the Review label Jan 2, 2017
@Changaco
Copy link
Member Author

Changaco commented Jan 2, 2017

Screenshot:

liberapay-2017-01-02-no-db

@Changaco Changaco merged commit da52612 into master Jan 3, 2017
@Changaco Changaco deleted the postgres-down branch January 3, 2017 08:13
This was referenced Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant