[Server-devel] [PATCH] Uncomment the sleep line to stagger clients
martin.langhoff at gmail.com
martin.langhoff at gmail.com
Mon Jun 16 13:46:34 EDT 2008
From: Martin Langhoff <martin at laptop.org>
This protects the XS from a tidal wave of clients
looking for backup service.
---
ds_backup.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ds_backup.sh b/ds_backup.sh
index 739bb43..ceea99a 100755
--- a/ds_backup.sh
+++ b/ds_backup.sh
@@ -58,7 +58,7 @@ fi
# Sleep a random amount, not greater than 20 minutes
# We use this to stagger client machines in the 30 minute
# slots between cron invocations...
-#(sleep $(($RANDOM % 1200));
+(sleep $(($RANDOM % 1200));
# Execute ds_backup.py from the same
# directory where we are. Use a flock
--
1.5.4.34.g053d9
More information about the Server-devel
mailing list