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

mikeperry at torproject.org mikeperry at torproject.org
Fri Nov 16 06:16:31 UTC 2012


commit ad92f4ab86768493593aef53885d3ae81864b899
Author: Mike Perry <mikeperry-git at fscked.org>
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 {





More information about the tor-commits mailing list