浏览代码

Se quita el chequeo de ejecucion al comando, no es requerido, son de volcado y se ejecutan rapido.

root 7 年之前
父节点
当前提交
f10847f14f
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/StatsBundle/Command/StatsPonPortCommand.php

+ 0 - 5
src/StatsBundle/Command/StatsPonPortCommand.php

@@ -44,13 +44,8 @@ class StatsPonPortCommand extends BaseCommand
         $tenancyId = $deviceOlt->getTenancyId();
         $tenancyId = $deviceOlt->getTenancyId();
         $deviceServerId = $oltServerId;
         $deviceServerId = $oltServerId;
         
         
-        $flag = "olt_scan_pons_d_{$oltDeviceId}_s_{$oltServerId}.lock";
-        
         $key_pon_stats = "olt_stats_pons_d_{$oltDeviceId}_s_{$oltServerId}";
         $key_pon_stats = "olt_stats_pons_d_{$oltDeviceId}_s_{$oltServerId}";
         
         
-        /* Control de bloqueo */
-        if($this->lock($flag)) {return;}
-        
         $ponsCached = $this->getData($key_pon_stats, true);
         $ponsCached = $this->getData($key_pon_stats, true);
 
 
         if(empty($ponsCached)) {
         if(empty($ponsCached)) {