Skip to content

Commit

Permalink
pbackup: Add long wait to refresh jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Apr 7, 2025
1 parent 03a5be5 commit 14318b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/pbackup
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 14318b5

Please sign in to comment.