Improve database access #41

Merged
radical merged 2 commits from improve-database-access into main 2025-07-30 13:57:36 +00:00
Owner

Uses fields from app_state instead of passing the entire state to functions, lets us reuse database connections more efficiently instead of creating new ones in every function, another alternative might be to open a connection for every db access at the time of access.

Uses fields from app_state instead of passing the entire state to functions, lets us reuse database connections more efficiently instead of creating new ones in every function, another alternative might be to open a connection for every db access at the time of access.
radical added 2 commits 2025-07-30 13:32:49 +00:00
feat: make database access more uniform and stop locking as many pool connections
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
fa52412b43
Merge branch 'main' into improve-database-access
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
ci/woodpecker/pull_request_closed/build-and-publish Pipeline was successful
3a28a8d34a
baaboe approved these changes 2025-07-30 13:55:19 +00:00
radical merged commit 5cb6b1d495 into main 2025-07-30 13:57:36 +00:00
radical deleted branch improve-database-access 2025-07-30 13:57:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gorb/backend#41
No description provided.