Skip to content

Commit

Permalink
update parseint
Browse files Browse the repository at this point in the history
  • Loading branch information
twodayslate committed Jul 2, 2024
1 parent 01ab303 commit d7093dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var addQueue = async.queue(async function (task, callback) {
console.log('processing package in queue', task.package.info.full_name)
await parsePackageRequest(task.req, task.package)
callback()
}, parseInt(process.env.PROCESS_QUEUE_SIZE || 1, 1))
}, parseInt(process.env.PROCESS_QUEUE_SIZE, 1))

module.exports = function (router) {
router.get('/add', async function (req, res) {
Expand Down

0 comments on commit d7093dc

Please sign in to comment.