Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #135 from mozilla/72-netChange-events
Browse files Browse the repository at this point in the history
Fixed #72 - Increase timeout to 60s
  • Loading branch information
maxxcrawford committed Oct 4, 2019
2 parents bfb3eed + 551622c commit c4f4321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/experiments/netChange/api.js
Expand Up @@ -35,7 +35,7 @@ var netChange = class netChange extends ExtensionAPI {
if (data === "changed" || data === "up") {
// Trigger the netChangeWaiting switch, initiating 5sec timeout
netChangeWaiting = true;
await sleep(5000);
await sleep(60000);
if (gNetworkLinkService.linkStatusKnown && gNetworkLinkService.isLinkUp) {
fire.async(data);
}
Expand Down

0 comments on commit c4f4321

Please sign in to comment.