Changeset 887 for trunk/Modules/NetworkConfigLinux/Generators/Latency.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigLinux/Generators/Latency.php
r873 r887 3 3 class ConfigLatency extends NetworkConfigItem 4 4 { 5 function PingHosts() 5 function PingHosts(): void 6 6 { 7 7 $Timeout = 2000; // ms … … 23 23 24 24 $Queries = array(); 25 foreach ($Output as $Index => $Line) 25 foreach ($Output as $Index => $Line) 26 26 { 27 27 $IP = substr($Line, 0, strPos($Line, ' ')); … … 35 35 } 36 36 37 function Run() 37 function Run(): void 38 38 { 39 39 RepeatFunction(10 * 60, array($this, 'PingHosts'));
Note:
See TracChangeset
for help on using the changeset viewer.