We encountered cases where the receiving queue of the ASH frame handler is full. Therefore, received frames are rejected (IllegalStateException : Queue full).
Here, we can see the queue capacity is set to 10. Also, the library doesn't expose methods to set the capacity during initialization.
|
private final BlockingQueue<EzspFrameResponse> recvQueue = new ArrayBlockingQueue<>(RX_QUEUE_LEN); |
Is there a reason the capacity is set to 10? Do you think increasing the capacity could cause other issues?
Thanks
We encountered cases where the receiving queue of the ASH frame handler is full. Therefore, received frames are rejected (IllegalStateException : Queue full).
Here, we can see the queue capacity is set to 10. Also, the library doesn't expose methods to set the capacity during initialization.
com.zsmartsystems.zigbee/com.zsmartsystems.zigbee.dongle.ember/src/main/java/com/zsmartsystems/zigbee/dongle/ember/internal/ash/AshFrameHandler.java
Line 117 in b15130c
Is there a reason the capacity is set to 10? Do you think increasing the capacity could cause other issues?
Thanks