Skip to content

Commit

Permalink
Raise normal init. limit to 15 secs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Jun 3, 2024
1 parent 8561065 commit 631d1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/webrequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ function dispatcher(request, sender, sendResponse) {
// process is not running; the getPopupData message from the popup causes
// the background to start but the background is not yet ready to respond
if (!badger.INITIALIZED) {
if ((Date.now() - badger.startTime) > 10000) {
if ((Date.now() - badger.startTime) > 15000) {
// too much time elapsed for this to be a normal initialization,
// give up to avoid an infinite loop
badger.criticalError = "Privacy Badger failed to initialize";
Expand Down

0 comments on commit 631d1eb

Please sign in to comment.