mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
refs #653 Make small cache values pinned, so they are sync loaded at start.
This commit is contained in:
@@ -27,6 +27,9 @@ namespace BlackCore
|
||||
//! Key in data cache
|
||||
static const char *key() { return "dbuser"; }
|
||||
|
||||
//! First load is synchronous
|
||||
static bool isPinned() { return true; }
|
||||
|
||||
//! Default value
|
||||
static const BlackMisc::Network::CAuthenticatedUser &defaultValue()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user