Skip to content

Commit

Permalink
Only subscribe to gts topics (fixes #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbillow committed Feb 7, 2021
1 parent 7f372ef commit ba2e018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeder/util/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def start(self):
await self.connect(
"mqtt://%s:%s@localhost:1883/" % (local_username, local_password)
)
await self.subscribe([("#", QOS_2)])
await self.subscribe([("krs/tel/gts/#", QOS_2), ("krs/api/gts/#", QOS_2)])
try:
while True:
message = await self.deliver_message()
Expand Down

0 comments on commit ba2e018

Please sign in to comment.