clear buffer on retry
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
626b9c0464
commit
396863a551
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user