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:
Tony Murray
2021-02-09 12:47:05 -06:00
committed by GitHub
parent 4126663b3a
commit 0d61deb8f0
16 changed files with 36 additions and 78 deletions

View File

@@ -121,14 +121,6 @@ $run = ($end - $start);
$proctime = substr($run, 0, 5);
if ($discovered_devices) {
dbInsert([
'type' => 'discover',
'doing' => $doing,
'start' => $start,
'duration' => $proctime,
'devices' => $discovered_devices,
'poller' => \LibreNMS\Config::get('distributed_poller_name'),
], 'perf_times');
if ($doing === 'new') {
// We have added a new device by this point so we might want to do some other work
oxidized_reload_nodes();