Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
torbutton
Commits
ad92f4ab
Commit
ad92f4ab
authored
Nov 15, 2012
by
Mike Perry
Browse files
Bug 6156: Raise check limit to 1.5 hours.
In retrospect, 15 minutes is probably a little too often.
parent
1581678d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chrome/content/torbutton.js
View file @
ad92f4ab
...
...
@@ -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
minute
s
const
kMinSecsBetweenChecks
=
90
*
60
;
// 1
.
5
hour
s
var
now
=
Date
.
now
()
/
1000
;
var
lastCheckTime
;
try
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment