Browse Source
Merge pull request #14613 from MazurenkoNick/lts-fix-edge-high-priority-queue
Fixed events from different edges being mixed together in one queue
pull/14628/head
Viacheslav Klimov
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java
|
|
|
@ -113,7 +113,7 @@ public abstract class EdgeGrpcSession implements Closeable { |
|
|
|
private static final int MAX_DOWNLINK_ATTEMPTS = 3; |
|
|
|
private static final String RATE_LIMIT_REACHED = "Rate limit reached"; |
|
|
|
|
|
|
|
protected static final ConcurrentLinkedQueue<EdgeEvent> highPriorityQueue = new ConcurrentLinkedQueue<>(); |
|
|
|
protected final ConcurrentLinkedQueue<EdgeEvent> highPriorityQueue = new ConcurrentLinkedQueue<>(); |
|
|
|
|
|
|
|
protected UUID sessionId; |
|
|
|
private BiConsumer<EdgeId, EdgeGrpcSession> sessionOpenListener; |
|
|
|
|