-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: just use a Repo with pool=1 for PG locks
Problem: - the sandbox config has some test-specific params, like timing out, cleaning up the conn, etc. - this prevents proper usage Solution: - we just stick to a normal repo with a pool of size=1, that way we always get the same connection - this is only use for locking, so there should be no performance issues
- Loading branch information
1 parent
1182bc7
commit 214ffda
Showing
3 changed files
with
17 additions
and
10 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