Improve session handling #9
Created a session-factory bound to connexion's underlying sqlalchemy engine and instanciated 2 separate sessions - each for api and sync.
Tests for setting/getting active source succeeded, so assuming that there is no need of calling commit() before the query. Since each session is created in the according context / thread, this approach should also be thread-safe but couldnt verify yet.
Need to retest, thus marking this mr to draft.
Merge request reports
Activity
changed milestone to %1.0-alpha3 — Playful Platypus
assigned to @chrizz
mentioned in issue #9 (closed)
added 1 commit
- 27c53f54 - temp fix: set trackStart in camelCase to avoid null
added 1 commit
- bfbd1a1e - fix: convert to camelCase manually (temp fix)
mentioned in commit ea67094d
Please register or sign in to reply