mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-03 14:52:21 +02:00
Improve S3 delete performance.
The constant S3_BATCH_MAX had been replaced with a hard-coded value of 2, probably during testing.
This commit is contained in:
parent
9070325760
commit
599e41a251
@ -35,6 +35,10 @@
|
||||
<p>Improve performance of HTTPS client. Buffering now takes the <code>pending</code> bytes on the socket into account (when present) rather than relying entirely on <code>select()</code>. In some instances the final bytes would not be flushed until the connection was closed.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Improve S3 delete performance. The constant <id>S3_BATCH_MAX</id> had been replaced with a hard-coded value of 2, probably during testing.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Allow any non-command-line option to be reset to default on the command-line. This allows options in <file>pgbackrest.conf</file> to be reset to default which reduces the need to write new configuration files for specific needs.</p>
|
||||
</release-item>
|
||||
|
@ -474,7 +474,7 @@ sub remove
|
||||
$iTotal++;
|
||||
$strXml .= '<Object><Key>' . substr($strFile, 1) . '</Key></Object>';
|
||||
|
||||
$strFile = $iTotal < 2 ? shift(@{$rstryFileAll}) : undef;
|
||||
$strFile = $iTotal < S3_BATCH_MAX ? shift(@{$rstryFileAll}) : undef;
|
||||
}
|
||||
|
||||
$strXml .= '</Delete>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user