Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Broker's receiver in API process #207

Merged
merged 1 commit into from
May 13, 2024

Conversation

Impelon
Copy link
Contributor

@Impelon Impelon commented Apr 29, 2024

The receive-Thread must be started by the same multiprocessing.Process as the process the API is running in. Otherwise any data from the broker will be unavailable to the API.

Starting the recieve-Thread of the broker directly on instantiation is an oversight, as it needs to be started later manually by the API process.

One could also add a start function to the Broker if one wanted to make it prettier, but this is the minimum needed to actually make the new SIL interface work.

@Impelon Impelon changed the title Start Broker's receiver in correct process Start Broker's receiver in API process Apr 29, 2024
@marvin-steinke marvin-steinke merged commit 043740f into dos-group:main May 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants