-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve db setup cache pool and link insertions (#57)
* added redis image to docker-compose * added connection pool to Redis instance usage * added __await__ hanlding for Database class, allowing better annotation of .create method & current functionality of await Database.create to continue triggering migrations * improved link insertions & reducing logging noise from duplicate attempts to insert into link tables * corrected return type & missing pk definition * fixed raising Exceptoin on non-link related insertion exceptions * appended max connections for postgres container * added assertions to ensure raise error when pytest fails within in sequence call * appended max connections for postgres container * appended max connections for postgres container * appended max connections for postgres container * appended max connections for postgres container * appended max connections for postgres container * appended max connections for postgres container * appended max connections for postgres container * updated max connections in docker-compose * replaced services definitions of containers with docker-compose usage * ensure rc is 0 when running test migrations in sequence --------- Co-authored-by: Joshua (codemation) <[email protected]>
- Loading branch information
1 parent
6b7d19e
commit 8cc1392
Showing
8 changed files
with
90 additions
and
137 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
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
Oops, something went wrong.