This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Probe database for connection limit, and make it configurable
This commit contains two changes: 1. At startup, we now probe the database to determine the number of connections it can handle in order to ensure we don't go over that limit 2. We add a command line flag to override this setting for instances where our heuristic is incorrect. This should make the connector a better-behaved client of the database, making it much less likely to starve out other clients, or itself.
- Loading branch information
1 parent
0a60ca8
commit a96d677
Showing
2 changed files
with
74 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters