Skip to content

Commit eef8f8e

Browse files
committed
update is binlog sync
1 parent 4f70598 commit eef8f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _binlog_loader(self):
225225
"""
226226
read row from binlog
227227
"""
228-
if self.log_file and self.log_pos:
228+
if self.is_binlog_sync:
229229
resume_stream = True
230230
logging.info("Resume from binlog_file: {file} binlog_pos: {pos}".format(file=self.log_file,
231231
pos=self.log_pos))

0 commit comments

Comments
 (0)