nixos-module/collectd/dhcpcount.rb: bump INTERVAL to 300

script generates considerable load :(
This commit is contained in:
Astro 2022-06-28 03:22:14 +02:00
parent c0781ea212
commit b2913f2d8e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
require 'date'
INTERVAL = 10
INTERVAL = 300
TIMEOUT = ARGV[0].to_i
hostname = IO::readlines("/proc/sys/kernel/hostname").join.strip
STDOUT.sync = true