From b471ad45e8af65403e0f3bfb75dc014b08abeef1 Mon Sep 17 00:00:00 2001 From: Ryan Tucker Date: Sun, 24 Jan 2010 10:29:19 -0500 Subject: [PATCH] another tweak to the congestion mitigator --- BackupPC_archiveHost_s3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackupPC_archiveHost_s3 b/BackupPC_archiveHost_s3 index 6ea404f..8e4d066 100755 --- a/BackupPC_archiveHost_s3 +++ b/BackupPC_archiveHost_s3 @@ -120,7 +120,7 @@ class SlowFile: else: # we're late; something got slow. lateness = starttime - self.lastblocktargettime - self.delayfactor += min(0.2, lateness) + self.delayfactor += min(0.5, lateness) logger.debug('%.2f seconds late (congestion?); setting delayfactor to %.2f' % (lateness, self.delayfactor)) targetspeed = self.speed/float(self.delayfactor)