mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Optimized grpc manager
This commit is contained in:
@@ -57,7 +57,7 @@ class TBGRPCServerManager(Thread):
|
||||
log.info("GRPC server started.")
|
||||
asyncio.run(self.serve(self.__config), debug=True)
|
||||
while not self._stopped:
|
||||
sleep(.01)
|
||||
sleep(.2)
|
||||
|
||||
def incoming_messages_cb(self, session_id, msg: FromConnectorMessage):
|
||||
log.debug("Connected client with identifier: %s", session_id)
|
||||
|
||||
Reference in New Issue
Block a user