Browse Source

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

root 7 years ago
parent
commit
f10847f14f
1 changed files with 0 additions and 5 deletions
  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();
         $deviceServerId = $oltServerId;
         
-        $flag = "olt_scan_pons_d_{$oltDeviceId}_s_{$oltServerId}.lock";
-        
         $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);
 
         if(empty($ponsCached)) {