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

add a method to delete/kill the consumer in the thread #8754

Merged
merged 7 commits into from Apr 25, 2024

Conversation

shubham3121
Copy link
Member

@shubham3121 shubham3121 commented Apr 25, 2024

Fixes:

@@ -567,6 +571,18 @@ def add_consumer_for_service(
)
consumer.run()

def remove_consumer_with_id(self, syft_worker_id: UID) -> None:
for _, consumers in self.queue_manager.consumers.items():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure how to parse the following datastructure, we have a: Client that has multiple consumers. How does that work? Doesnt every consumer need its own client?

@koenvanderveen koenvanderveen merged commit 837e2c7 into dev Apr 25, 2024
32 of 35 checks passed
@koenvanderveen koenvanderveen deleted the fix-consumer-delete-thread-workers branch April 25, 2024 16:20
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.

None yet

2 participants