Skip to content

Commit

Permalink
Revert batch size changes (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
BTheunissen authored Aug 17, 2023
1 parent bc6d68a commit aae7305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "shaped-target-clickhouse"
version = "0.0.6"
version = "0.0.10"
description = "`target-clickhouse` is a Singer target for clickhouse, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Ben Theunissen"]
Expand Down
4 changes: 3 additions & 1 deletion target_clickhouse/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class ClickhouseSink(SQLSink):
"""clickhouse target sink class."""

connector_class = ClickhouseConnector
MAX_SIZE_DEFAULT = 50000

# Investigate larger batch sizes without OOM.
MAX_SIZE_DEFAULT = 10000

@property
def max_size(self) -> int:
Expand Down

0 comments on commit aae7305

Please sign in to comment.