mirror of https://gitee.com/bigwinds/arangodb
added flushModuleCache for resetEngine
This commit is contained in:
parent
8e52bc6143
commit
54e7305060
|
@ -131,7 +131,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
internal.resetEngine = function () {
|
internal.resetEngine = function () {
|
||||||
internal.output("warning: routing engine resetted\n");
|
internal.flushModuleCache();
|
||||||
require("org/arangodb/actions").reloadRouting();
|
require("org/arangodb/actions").reloadRouting();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue