Skip to content

Commit

Permalink
update parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed May 24, 2024
1 parent 42af941 commit 7ffcaa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions svc/gcdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { getOrFetchGcData } from '../store/getGcData';
import { runQueue } from '../store/queue';
import config from '../config';
import { getRetrieverCount } from '../util/utility';
import { getOrFetchApiData } from '../store/getApiData';

async function processGcData(job: GcDataJob) {
Expand All @@ -21,6 +20,6 @@ async function processGcData(job: GcDataJob) {
console.log('[GCDATA] starting');
runQueue(
'gcQueue',
Number(config.GCDATA_PARALLELISM) * getRetrieverCount(),
Number(config.GCDATA_PARALLELISM),
processGcData,
);

0 comments on commit 7ffcaa8

Please sign in to comment.