Skip to content

Commit

Permalink
core: increase protocol timeout to 30s (#6531)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and brendankenny committed Nov 13, 2018
1 parent 9600b50 commit f1d6bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/gather/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const Connection = require('./connections/connection.js');
// Controls how long to wait after onLoad before continuing
const DEFAULT_PAUSE_AFTER_LOAD = 0;
// Controls how long to wait between network requests before determining the network is quiet
const DEFAULT_NETWORK_QUIET_THRESHOLD = 10000;
const DEFAULT_NETWORK_QUIET_THRESHOLD = 5000;
// Controls how long to wait between longtasks before determining the CPU is idle, off by default
const DEFAULT_CPU_QUIET_THRESHOLD = 0;
// Controls how long to wait for a response after sending a DevTools protocol command.
const DEFAULT_PROTOCOL_TIMEOUT = 5000;
const DEFAULT_PROTOCOL_TIMEOUT = 30000;

/**
* @typedef {LH.Protocol.StrictEventEmitter<LH.CrdpEvents>} CrdpEventEmitter
Expand Down

0 comments on commit f1d6bdc

Please sign in to comment.