From 14318b5f579e6c437b4c7603840ecc7297cdf61c Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 6 Apr 2025 10:34:16 +0200 Subject: [PATCH] pbackup: Add long wait to refresh jobs --- bin/pbackup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/pbackup b/bin/pbackup index 761514f..47e0500 100755 --- a/bin/pbackup +++ b/bin/pbackup @@ -737,7 +737,12 @@ sub do_jobs { do_a_job(0, $type) or last; upid_shutdown_pending() and exit 0; upid_doing("BACKUP $type pause"); - sleep 1; + if ($type eq '%') { + # don't block a single fileserver for too long, give incrementals a chance + sleep 600; + } else { + sleep 1; + } upid_shutdown_pending() and exit 0; } upid_doing("BACKUP $type idle, waiting");