clear buffer on retry
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-05-05 09:06:40 -05:00
parent 626b9c0464
commit 396863a551

View File

@ -836,6 +836,7 @@ auto s3_provider::read_file_bytes(const std::string &api_path, std::size_t size,
idx < get_config().get_retry_read_count() + 1U;
++idx) {
if (idx > 0U) {
read_buffer.clear();
std::this_thread::sleep_for(1s);
}