...
|
...
|
@@ -32,6 +32,10 @@ class ApiCache { |
|
|
|
|
|
this.memcached.items( ( err, result ) => {
|
|
|
if( err ) console.error( err );
|
|
|
|
|
|
if (result.length === 0) {
|
|
|
this._log('empty items')
|
|
|
}
|
|
|
// for each server...
|
|
|
result.forEach(itemSet => {
|
|
|
|
...
|
...
|
@@ -39,6 +43,10 @@ class ApiCache { |
|
|
keys.pop(); // we don't need the "server" key, but the other indicate the slab id's
|
|
|
|
|
|
var len = keys.length;
|
|
|
|
|
|
if (keys.length === 0) {
|
|
|
this._log('empty item set');
|
|
|
}
|
|
|
|
|
|
keys.forEach(stats => {
|
|
|
|
...
|
...
|
|