Skip to content

Commit

Permalink
Change default batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexfvk committed Jan 26, 2024
1 parent ba20cf7 commit e5347d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ch_tools/chadmin/cli/object_storage_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
LISTING_TABLE_PREFIX = "listing_objects_from_"
# Batch size for inserts in a listing table
# Set not very big value due to default ClickHouse 'http_max_field_value_size' settings value 128Kb
INSERT_BATCH_SIZE = 100
# TODO: streaming upload in POST body while INSERT
INSERT_BATCH_SIZE = 500


@group("object-storage")
Expand Down

0 comments on commit e5347d7

Please sign in to comment.