mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove perf_times table (#12517)
the data is never used... This type of data is better to store in rrd anyway
This commit is contained in:
11
poller.php
11
poller.php
@@ -160,17 +160,6 @@ $poller_end = microtime(true);
|
||||
$poller_run = ($poller_end - $poller_start);
|
||||
$poller_time = substr($poller_run, 0, 5);
|
||||
|
||||
if ($polled_devices) {
|
||||
dbInsert([
|
||||
'type' => 'poll',
|
||||
'doing' => $doing,
|
||||
'start' => $poller_start,
|
||||
'duration' => $poller_time,
|
||||
'devices' => $polled_devices,
|
||||
'poller' => Config::get('base_url'),
|
||||
], 'perf_times');
|
||||
}
|
||||
|
||||
$string = $argv[0] . " $doing " . date(Config::get('dateformat.compact')) . " - $polled_devices devices polled in $poller_time secs";
|
||||
d_echo("$string\n");
|
||||
|
||||
|
Reference in New Issue
Block a user