mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fix
This commit is contained in:
@@ -54,7 +54,7 @@ async function getCore(loader, args) {
|
|||||||
|
|
||||||
const fromCache = cacheGet(key);
|
const fromCache = cacheGet(key);
|
||||||
if (fromCache) return fromCache;
|
if (fromCache) return fromCache;
|
||||||
const res = getCachedPromise(key, doLoad);
|
const res = await getCachedPromise(key, doLoad);
|
||||||
|
|
||||||
cacheSet(key, res, reloadTrigger);
|
cacheSet(key, res, reloadTrigger);
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
Reference in New Issue
Block a user