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

Allow DB hosts to be a list for PostgreSQL connections. #335

Merged
merged 1 commit into from
May 4, 2018

Conversation

zerebubuth
Copy link
Member

Chooses a random host for simple load balance. Similar to tilezen/raw_tiles#22, but for those times we're not using RAWR tiles.

Copy link
Member

@iandees iandees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good for now. It'd be great to add the ability to use a URI instead so the whole set of connection info could be selected randomly instead of just the host.

@zerebubuth zerebubuth merged commit c85283f into master May 4, 2018
@zerebubuth zerebubuth deleted the zerebubuth/allow-db-hosts-list branch May 4, 2018 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants