Skip to content

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Mar 31, 2019

Since we only call client.check_version() once in the __init__ of KafkaClient, holding the lock shouldn't be strictly necessary. Nonetheless, I think it makes maintenance a little easier. And in case check_version() is moved out of __init__, this should help avoid race conditions.


This change is Reviewable

@dpkp dpkp merged commit 3664ae8 into master Apr 1, 2019
@dpkp dpkp deleted the lock_client_check_version branch April 1, 2019 01:38
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.

1 participant