Skip to content

Commit

Permalink
Raise the limit for detection of stale content scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Mar 17, 2024
1 parent fc1f0b7 commit 38b325e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions platform/common/vapi-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

// For non-background page

/* globals browser */

'use strict';

/******************************************************************************/

// https://github.com/chrisaljoudi/uBlock/issues/456
Expand Down Expand Up @@ -203,7 +199,7 @@ vAPI.messaging = {
// the main process is no longer reachable: memory leaks and bad
// performance become a risk -- especially for long-lived, dynamic
// pages. Guard against this.
if ( this.pending.size > 50 ) {
if ( this.pending.size > 1000 ) {
vAPI.shutdown.exec();
}
const port = this.getPort();
Expand Down

0 comments on commit 38b325e

Please sign in to comment.