mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
fixbug:the rpc request in progress got replaced by the new rpc request
This commit is contained in:
@@ -453,6 +453,7 @@ class TBGatewayService:
|
||||
new_rpc_request_in_progress = {key: value for key, value in
|
||||
self.__rpc_requests_in_progress.items() if value != 'del'}
|
||||
if not self.__rpc_register_queue.empty():
|
||||
new_rpc_request_in_progress = self.__rpc_requests_in_progress
|
||||
rpc_request_from_queue = self.__rpc_register_queue.get(False)
|
||||
topic = rpc_request_from_queue["topic"]
|
||||
data = rpc_request_from_queue["data"]
|
||||
|
||||
Reference in New Issue
Block a user