|
@@ -66,8 +66,8 @@ class NasOnuOctetsCommand extends BaseCommand
|
|
|
|
|
|
$this->flag = "{$this->d_s}_cmd_$cmd";
|
|
|
|
|
|
- if($this->lock($this->flag)) {exit(1);}
|
|
|
-
|
|
|
+ if(!$this->lock($this->flag)) {exit(1);}
|
|
|
+
|
|
|
//$key_nas_scan = "nas_scan_{$this->d_s}";
|
|
|
$key_nas_onu_bandwidth = "nas_bandwidth_onu_{$this->d_s}";
|
|
|
|
|
@@ -146,7 +146,7 @@ class NasOnuOctetsCommand extends BaseCommand
|
|
|
}
|
|
|
|
|
|
$this->setData($key_nas_onu_bandwidth, $bandwidthCached, true);
|
|
|
-
|
|
|
+
|
|
|
if($sendData && $saveHistoric) {
|
|
|
$t_start_script = microtime(true);
|
|
|
$statsdService = $this->getContainer()->get('statsd');
|