Commit 1fd402cb authored by Jiahang Chen's avatar Jiahang Chen
Browse files

reactivate updating broker token

parent eb2fdaeb
Pipeline #440853 passed with stages
in 51 seconds
...@@ -407,8 +407,8 @@ def receive(): ...@@ -407,8 +407,8 @@ def receive():
target=self.broker.receive, target=self.broker.receive,
args=(self.__endpoint, self.__on_broker_callback), args=(self.__endpoint, self.__on_broker_callback),
).start() ).start()
#else: else:
# self.broker.update_token(self.access_token) self.broker.update_token(self.access_token)
def __on_broker_callback(self, ch, method, properties, body): def __on_broker_callback(self, ch, method, properties, body):
"""Parses body (content of a S3I-B message) and delegates the """Parses body (content of a S3I-B message) and delegates the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment