Skip to content

Commit

Permalink
add new relic to worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 9, 2021
1 parent 5956089 commit 4931466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { logger, auditLogger } from './logger';
import { scanQueue } from './services/scanQueue';
import processFile from './workers/files';

require('newrelic');
// Number of workers to spawn
const workers = process.env.WORKER_CONCURRENCY || 2;
// Number of jobs per worker. Can be adjusted if clamav is getting bogged down
Expand Down

0 comments on commit 4931466

Please sign in to comment.