Closed lmroz closed 7 years ago
This plugin uses sticky routing strategy, so concurrency count is set to 1, what means there is no possibilities to use a single plugin instance by two tasks.
There is also an issue to provide Init() once function behavior to plugin lib to make easier manage initialization in plugins which require that - 👉 https://github.com/intelsdi-x/snap-plugin-lib-go/issues/79
Based on above, I will close this issue. Of course, please do not hesitate to re-open if you notice that this issue is still valid in some circumstances. Thank You.
I'm just copy&pasting @obourdon 's issue and pointing to the line https://github.com/intelsdi-x/snap-plugin-collector-snmp/blob/master/collector/collector.go#L170 because lack of time to take care of this now, but it should be easy fix.