mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-19 04:24:05 -04:00
ApplicationDesktop start was slowed down by two synchronous DB calls: -get unread threads count -get unread calls count Both were replaced with asynch versions.
Virtual database query interface.
Instead manually creating switch cases for each possible query logic, create one
virtual query interface and push querying logic to db (where it's implemented)
- db::service accepts
GetByQuery(service, database, query) - it routes it to proper database on request (instead manually copying interfaces)
- db implements querying logics and returns response