Simplify handling of old build limit showing.
[build-farm.git] / mail-dead-hosts.py
index 149991276a0eec72bffaa3ea7b845f724bf27ce4..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))
@@ -53,7 +53,7 @@ why we have not heard from your host?
 If you no longer wish your host to participate in the Samba Build
 Farm, then please let us know so we can remove its records.
 
-You can see the summary for your host at:
+You can see the summary for your host at: %s
 
 Thanks,