mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
Fixed an issue with writer retry
This commit is contained in:
1 parent
74fd4a6a0f
commit
733f2c3433
1 file changed
+4
-1
@@ -207,7 +207,10 @@ class ExchangeBundle:
|
||||
|
||||
# This is workaround, there is an issue with empty
|
||||
# session_label when using a newly created writer
|
||||
del self._writers[writer._rootdir]
|
||||
key = writer._rootdir if data_frequency == 'minute' \
|
||||
else writer._filename
|
||||
|
||||
del self._writers[key]
|
||||
|
||||
writer = self.get_writer(writer._start_session,
|
||||
writer._end_session, data_frequency)
|
||||
|
||||
Reference in new issue
Block a user