]> git.ipfire.org Git - thirdparty/lldpd.git/commit
event: don't call `netsnmp_check_outstanding_agent_requests()`
authorVincent Bernat <bernat@luffy.cx>
Mon, 9 Sep 2013 19:30:39 +0000 (21:30 +0200)
committerVincent Bernat <bernat@luffy.cx>
Mon, 9 Sep 2013 19:30:39 +0000 (21:30 +0200)
commitdbcb684662e2e84e290ede7db733c67f26c7d2c2
tree9afae5015164d709552ba082dbca0d9a449af80b
parent9a4e257b0ad14ff874ff5da565afa99c03f14f30
event: don't call `netsnmp_check_outstanding_agent_requests()`

We don't use delegated requests and therefore, this call is not
necessary. It was put here out of safety but it seems that it can
trigger spurious alarms and microseconds timeout. This makes lldpd
consume a lot of CPU. We just remove this call from the event loop.
src/daemon/event.c