Skip to content
Snippets Groups Projects
Commit ad6a04ce authored by Alfred Ashur Oshana's avatar Alfred Ashur Oshana
Browse files

fix: pi_id instead cube id

parent b1e85746
No related branches found
No related tags found
No related merge requests found
...@@ -337,7 +337,7 @@ def restart_reservation_consumer(ids: List[int], callback: Callable = None): ...@@ -337,7 +337,7 @@ def restart_reservation_consumer(ids: List[int], callback: Callable = None):
if not res_thread: if not res_thread:
res_thread = ReservationConsumer(pis=ids, callback=res_event_callback) res_thread = ReservationConsumer(pis=ids, callback=res_event_callback)
res_thread.start() res_thread.start()
elif Counter(ids) != Counter(res_thread.cubes): elif Counter(ids) != Counter(res_thread.pis):
res_thread.stop() res_thread.stop()
res_thread.join() res_thread.join()
res_thread = ReservationConsumer(pis=ids, callback=res_event_callback) res_thread = ReservationConsumer(pis=ids, callback=res_event_callback)
......
...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages ...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='pilab', name='pilab',
version='4.2.1', version='4.2.2',
description='Shared-Libs for the pi-lab microservices', description='Shared-Libs for the pi-lab microservices',
url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab', url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab',
author='Max Reinheimer', author='Max Reinheimer',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment