Skip to content

Commit

Permalink
Merge pull request #21 from wanteddev/throttling-and-registry
Browse files Browse the repository at this point in the history
Fixing incorrect throttling settings
  • Loading branch information
avasconcelos114 authored Mar 23, 2021
2 parents a6c6475 + 03fbb5a commit b7fcf18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ router.post('/receive_submission', async function(req, res) {
const {channel, is_schedule} = JSON.parse(res_data.view.private_metadata);

let submission = {
throttling: true,
performance: true,
throttling: false,
performance: false,
seo: false,
pwa: false,
'best-practices': false,
Expand Down
1 change: 1 addition & 0 deletions src/utils/lighthouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ async function launchPuppeteer(url, options) {
downloadThroughputKbps: 0,
uploadThroughputKbps: 0,
};
opts.formFactor = 'desktop'
opts.screenEmulation = {
mobile: false,
width: 1350,
Expand Down

0 comments on commit b7fcf18

Please sign in to comment.