We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a804c51 commit 65ee74bCopy full SHA for 65ee74b
influxdb_client/client/write_api.py
@@ -258,7 +258,8 @@ def __init__(self,
258
self._disposable = self._subject.pipe(
259
# Split incoming data to windows by batch_size or flush_interval
260
ops.window_with_time_or_count(count=write_options.batch_size,
261
- timespan=timedelta(milliseconds=write_options.flush_interval)),
+ timespan=timedelta(milliseconds=write_options.flush_interval),
262
+ scheduler=ThreadPoolScheduler(1)),
263
# Map window into groups defined by 'organization', 'bucket' and 'precision'
264
ops.flat_map(lambda window: window.pipe(
265
# Group window by 'organization', 'bucket' and 'precision'
0 commit comments