Skip to content

Commit 12eb01e

Browse files
authored
Merge pull request #18 from TaskarCenterAtUW/develop
Develop to Master
2 parents 1b97072 + 79fc547 commit 12eb01e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change log
22

3+
### 0.0.16
4+
- Removed extra logs
5+
36
### 0.0.15
47
This fixes the inconsistent listening behavior for the subscription of a topic from core.
58
- Due to the usage of `for message in receiver` logic in the topic, it is unknown when the loop will end and the core will stop listening to the topic.

freeze_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
build_date = date.today().strftime('%Y-%m-%d')
1313

14-
version = '0.0.15'
14+
version = '0.0.16'
1515

1616
with open(version_file_path, 'w+') as version_file:
1717
version_file.write("version = '{}'\n".format(version))

src/python_ms_core/core/topic/topic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ def messages(self, provider, topic, subscription):
2929
except Exception as e:
3030
print(f'Error: {e}, Invalid message received: {message}')
3131
finally:
32-
print(f'Completing message')
3332
topic_receiver.complete_message(message)
34-
logger.info(f'Completed gathering messages')
3533
logger.info('Completed topic receiver')
3634

3735
# Sends data to the callback function
@@ -49,7 +47,6 @@ def start_listening(self, provider, topic, subscription):
4947
for message in topic_receiver:
5048
try:
5149
self.process_message(message=str(message)) # sync call. [By default 1minute ] -> lock renewal for 300 seconds
52-
topic_receiver.complete_message(message)
5350
except Exception as e:
5451
print(f'Error : {e}, Invalid message received : {message}')
5552
finally:

0 commit comments

Comments
 (0)