Skip to content

Commit b7fcf18

Browse files
Merge pull request #21 from wanteddev/throttling-and-registry
Fixing incorrect throttling settings
2 parents a6c6475 + 03fbb5a commit b7fcf18

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/routes/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ router.post('/receive_submission', async function(req, res) {
199199
const {channel, is_schedule} = JSON.parse(res_data.view.private_metadata);
200200

201201
let submission = {
202-
throttling: true,
203-
performance: true,
202+
throttling: false,
203+
performance: false,
204204
seo: false,
205205
pwa: false,
206206
'best-practices': false,

src/utils/lighthouse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ async function launchPuppeteer(url, options) {
7070
downloadThroughputKbps: 0,
7171
uploadThroughputKbps: 0,
7272
};
73+
opts.formFactor = 'desktop'
7374
opts.screenEmulation = {
7475
mobile: false,
7576
width: 1350,

0 commit comments

Comments
 (0)