mirror of https://gitee.com/bigwinds/arangodb
No globals.
This commit is contained in:
parent
1d27881854
commit
81461931c5
|
@ -1,7 +1,5 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/*global KEY_SET */
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief Foxx queues
|
/// @brief Foxx queues
|
||||||
///
|
///
|
||||||
|
@ -48,7 +46,7 @@ var queues = {
|
||||||
_jobTypes: { },
|
_jobTypes: { },
|
||||||
_clearCache: function () {
|
_clearCache: function () {
|
||||||
try {
|
try {
|
||||||
KEY_SET("queue-control", "skip", 0);
|
global.KEY_SET("queue-control", "skip", 0);
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
// ignore error if key does not exist
|
// ignore error if key does not exist
|
||||||
|
|
Loading…
Reference in New Issue