Merge pull request #6017 from ViacheslavKlimov/fix/snmp-transport-startup
[3.3.4] Fix SNMP transport initialization error
This commit is contained in:
commit
afb49e8664
@ -73,7 +73,7 @@ public class SnmpTransportContext extends TransportContext {
|
|||||||
private final Map<DeviceId, DeviceSessionContext> sessions = new ConcurrentHashMap<>();
|
private final Map<DeviceId, DeviceSessionContext> sessions = new ConcurrentHashMap<>();
|
||||||
private final Collection<DeviceId> allSnmpDevicesIds = new ConcurrentLinkedDeque<>();
|
private final Collection<DeviceId> allSnmpDevicesIds = new ConcurrentLinkedDeque<>();
|
||||||
|
|
||||||
@AfterStartUp(order = 2)
|
@AfterStartUp(order = Integer.MAX_VALUE)
|
||||||
public void fetchDevicesAndEstablishSessions() {
|
public void fetchDevicesAndEstablishSessions() {
|
||||||
log.info("Initializing SNMP devices sessions");
|
log.info("Initializing SNMP devices sessions");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user