Browse Source
Merge pull request #6017 from ViacheslavKlimov/fix/snmp-transport-startup
[3.3.4] Fix SNMP transport initialization error
pull/6170/head
Andrew Shvayka
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
common/transport/snmp/src/main/java/org/thingsboard/server/transport/snmp/SnmpTransportContext.java
|
|
|
@ -73,7 +73,7 @@ public class SnmpTransportContext extends TransportContext { |
|
|
|
private final Map<DeviceId, DeviceSessionContext> sessions = new ConcurrentHashMap<>(); |
|
|
|
private final Collection<DeviceId> allSnmpDevicesIds = new ConcurrentLinkedDeque<>(); |
|
|
|
|
|
|
|
@AfterStartUp(order = 2) |
|
|
|
@AfterStartUp(order = Integer.MAX_VALUE) |
|
|
|
public void fetchDevicesAndEstablishSessions() { |
|
|
|
log.info("Initializing SNMP devices sessions"); |
|
|
|
|
|
|
|
|