-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD: - database/database.go:assertOpenConnection() now asserts a passed in connection object is not nil, if it is nil then we will open a new connection. This massively cuts down on opening/closing of connections during runtime vs initialization. CHANGE: - reaper/reaper.go Updating for changes in `database/database.go`. See `ADD` section. - server/server.go Added a `dbPool` object to the `applicationContext` and updated for changes in `database/database.go`.
- Loading branch information
1 parent
2cd3385
commit 0c843b3
Showing
3 changed files
with
72 additions
and
74 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