mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
refs #756, use session user object
This commit is contained in:
@@ -30,6 +30,9 @@ namespace BlackCore
|
|||||||
//! First load is synchronous
|
//! First load is synchronous
|
||||||
static constexpr bool isPinned() { return true; }
|
static constexpr bool isPinned() { return true; }
|
||||||
|
|
||||||
|
//! Session object
|
||||||
|
static constexpr bool isSession() { return true; }
|
||||||
|
|
||||||
//! Cache lifetime
|
//! Cache lifetime
|
||||||
static int timeToLive() { return 18 * 60 * 60 * 1000; }
|
static int timeToLive() { return 18 * 60 * 60 * 1000; }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user