Changeset 835


Ignore:
Timestamp:
Jul 18, 2016, 6:15:29 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Lowered network availability test to 10 second period.
Location:
trunk/Modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Network.php

    r834 r835  
    115115
    116116    // TODO: Make notify time configurable
    117     $this->MinNotifyTime = 2 * 60;
     117    $this->MinNotifyTime = 30; // seconds
    118118  }
    119119
  • trunk/Modules/NetworkConfigRouterOS/Generators/Netwatch.php

    r829 r835  
    3131          if($Interface['Name'] != '') $Name .= '-'.$Interface['Name'];
    3232          echo($Name.', ');
    33           $Items[] = array('host' => $Interface['LocalIP'], 'interval' => '00:00:30', 'comment' => $Name);
     33          $Items[] = array('host' => $Interface['LocalIP'], 'interval' => '00:00:10', 'comment' => $Name);
    3434        }
    3535      }
  • trunk/Modules/NetworkConfigRouterOS/Generators/NetwatchImport.php

    r829 r835  
    9191  function Run()
    9292  {
    93     RepeatFunction(30, array($this, 'NetwatchImport'));
     93    RepeatFunction(10, array($this, 'NetwatchImport'));
    9494  }
    9595}
Note: See TracChangeset for help on using the changeset viewer.