1
0
Fork 0

Fixed a bug in foxx manager that refilled the cache but did not make use of it

This commit is contained in:
Michael Hackstein 2015-02-18 14:05:30 +01:00
parent 21bc33a68a
commit d710047ddb
1 changed files with 2 additions and 1 deletions

View File

@ -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");
} }