Skip to content

Refactor DatabaseWorker singleton#761

Merged
joelvai merged 2 commits intoCodaone:develfrom
bitphage:wip/667-storage-db-path
May 7, 2020
Merged

Refactor DatabaseWorker singleton#761
joelvai merged 2 commits intoCodaone:develfrom
bitphage:wip/667-storage-db-path

Conversation

@bitphage
Copy link
Collaborator

@bitphage bitphage commented Apr 7, 2020

No description provided.

bitphage added 2 commits April 7, 2020 23:33
Instead of having single DatabaseWorker instance across all application,
keep one instance per each sqlite database file. Now we can init Storage
with custom sqlite database if needed.

Closes: Codaone#667
@joelvai joelvai merged commit 45ea01e into Codaone:devel May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants