mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug in foxx manager that refilled the cache but did not make use of it
This commit is contained in:
parent
21bc33a68a
commit
d710047ddb
|
@ -94,8 +94,9 @@
|
||||||
refillCaches(dbname);
|
refillCaches(dbname);
|
||||||
}
|
}
|
||||||
if (!appCache[dbname].hasOwnProperty(mount)) {
|
if (!appCache[dbname].hasOwnProperty(mount)) {
|
||||||
|
refillCaches(dbname);
|
||||||
if (!appCache[dbname].hasOwnProperty(mount)) {
|
if (!appCache[dbname].hasOwnProperty(mount)) {
|
||||||
refillCaches(dbname);
|
return appCache[dbname][mount];
|
||||||
}
|
}
|
||||||
throw new Error("App not found");
|
throw new Error("App not found");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue