Skip to content

Commit

Permalink
Merge pull request #1 from ttmx/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
joao-vasconcelos authored Jan 16, 2024
2 parents 0edfeea + 0d28c2a commit 5a11685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const OUTPUT_DIRECTORY = '/output/jobsdata/pdfs';
let TASK_IS_RUNNING = false;

// Setup browser instance on init
const BROSWER_INSTANCE = await puppeteer.launch({
const BROWSER_INSTANCE = await puppeteer.launch({
headless: 'new',
executablePath: 'google-chrome-stable',
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
Expand All @@ -47,7 +47,7 @@ const OUTPUT_DIRECTORY = '/output/jobsdata/pdfs';
const startTime = process.hrtime();

// Initiate a new page on the browser
const browserPage = await BROSWER_INSTANCE.newPage();
const browserPage = await BROWSER_INSTANCE.newPage();

// Retrieve newly registered jobs from database
const allNewJobs = await QUEUEDB.Job.find({ status: 'registered' }).toArray();
Expand Down

0 comments on commit 5a11685

Please sign in to comment.