[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] Bug 6156: Raise check limit to 1.5 hours.



commit ad92f4ab86768493593aef53885d3ae81864b899
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Thu Nov 15 19:56:08 2012 -0800

    Bug 6156: Raise check limit to 1.5 hours.
    
    In retrospect, 15 minutes is probably a little too often.
---
 src/chrome/content/torbutton.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index e305e4e..93d7968 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -970,7 +970,7 @@ function torbutton_do_async_versioncheck() {
 
   // Suppress update check if done recently.
   const kLastCheckPref = "extension.torbutton.lastUpdateCheck";
-  const kMinSecsBetweenChecks = 15 * 60; // 15 minutes
+  const kMinSecsBetweenChecks = 90 * 60; // 1.5 hours
   var now = Date.now() / 1000;
   var lastCheckTime;
   try {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits