Write bytes to wake_fd
This commit is contained in:
@@ -616,7 +616,7 @@ class KafkaClient(object):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
def wakeup(self):
|
def wakeup(self):
|
||||||
os.write(self._wake_w, 'x')
|
os.write(self._wake_w, b'x')
|
||||||
|
|
||||||
def _clear_wake_fd(self):
|
def _clear_wake_fd(self):
|
||||||
while True:
|
while True:
|
||||||
|
Reference in New Issue
Block a user