Bringing back old single part upload limit

This commit is contained in:
Jakub Kuklis 2021-11-09 11:15:34 +00:00
parent 0d7a4b10c3
commit c9f3164cba

View File

@ -74,7 +74,7 @@ void validate_endpoint_url(const String & endpoint_url)
std::unique_ptr<DiskBlobStorageSettings> getSettings(const Poco::Util::AbstractConfiguration & config, const String & config_prefix, ContextPtr /* context */)
{
return std::make_unique<DiskBlobStorageSettings>(
config.getUInt64(config_prefix + ".max_single_part_upload_size", 1024),
config.getUInt64(config_prefix + ".max_single_part_upload_size", 100 * 1024 * 1024),
config.getUInt64(config_prefix + ".min_bytes_for_seek", 1024 * 1024),
config.getInt(config_prefix + ".thread_pool_size", 16),
config.getInt(config_prefix + ".objects_chunk_size_to_delete", 1000)