reduce snmp poller concurrency

This commit is contained in:
Graham McIntire 2026-01-18 12:11:08 -06:00
parent 712aa63b04
commit 617e8c5414
No known key found for this signature in database

View file

@ -232,7 +232,7 @@ defmodule Towerops.Snmp.PollerWorker do
result = poll_sensor_value(sensor, client_opts)
handle_sensor_poll_result(sensor, result, timestamp)
end,
max_concurrency: 10,
max_concurrency: 2,
timeout: 10_000,
on_timeout: :kill_task
)
@ -372,7 +372,7 @@ defmodule Towerops.Snmp.PollerWorker do
Snmp.create_interface_stat(stats)
end,
max_concurrency: 10,
max_concurrency: 2,
timeout: 10_000,
on_timeout: :kill_task
)
@ -392,7 +392,7 @@ defmodule Towerops.Snmp.PollerWorker do
Logger.debug("Failed to get interface attributes for #{interface.if_name}: #{inspect(reason)}")
end
end,
max_concurrency: 10,
max_concurrency: 2,
timeout: 10_000,
on_timeout: :kill_task
)