bump dead host time to 3 weeks
authorAndrew Bartlett <abartlet@samba.org>
Wed, 8 Jan 2014 05:23:47 +0000 (18:23 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Jan 2014 05:23:47 +0000 (18:23 +1300)
mail-dead-hosts.py

index fada47eebf3ad0eaad65d71c793e37c6ae37e656..56ca81158ac5cf51e5a18f6c0c6471e1fe7aba7a 100755 (executable)
@@ -33,7 +33,7 @@ buildfarm = BuildFarm(timeout=40.0)
 smtp = smtplib.SMTP()
 smtp.connect()
 
-hosts = buildfarm.hostdb.dead_hosts(7 * 86400)
+hosts = buildfarm.hostdb.dead_hosts(21 * 86400)
 for host in hosts:
     if host.last_update:
         last_update = time.strftime("%a %b %e %H:%M:%S %Y", time.gmtime(host.last_update))