We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31b289c + 58fd152 commit b93b132Copy full SHA for b93b132
pghoard/restore.py
@@ -607,8 +607,8 @@ def _get_basebackup(
607
os.chmod(dirname, 0o700)
608
609
# Based on limited samples, there could be one stalled download per 122GiB of transfer
610
- # So we tolerate one stall for every 64GiB of transfer (or STALL_MIN_RETRIES for smaller backup)
611
- stall_max_retries = max(STALL_MIN_RETRIES, int(int(metadata.get("total-size-enc", 0)) / (64 * 2 ** 30)))
+ # So we tolerate one stall for every 10GiB of transfer (or STALL_MIN_RETRIES for smaller backup)
+ stall_max_retries = max(STALL_MIN_RETRIES, int(int(metadata.get("total-size-enc", 0)) / (10 * 2 ** 30)))
612
613
fetcher = BasebackupFetcher(
614
app_config=self.config,
0 commit comments