-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH]: use pgpool for log services (#2079)
## Description of changes pg.Connect is returning only one connection, which is not thread safe and cause an error. When running in grpc, each request run on a different go routine, and in parallel. pgpool will create and manage a set of connection. *Summarize the changes made by this PR.* - Improvements & Bug fixes - Use pg pool to use threadsafe connection.
- Loading branch information
1 parent
f42567e
commit 81d97dd
Showing
3 changed files
with
8 additions
and
7 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
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