Skip to content

Commit

Permalink
Fix to update status for rateSkipped result
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaixian1984 committed Jul 24, 2024
1 parent 0c416be commit 1bd6624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tasks/pull-scheduler-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ async function getOneFileByStrategy(
break;
case 'pfSkipped':
case 'nodeSkipped':
case 'rateSkipped':
logger.info('file "%s" is skipped by rule: "%s"', record.cid, status);
await fileOrderOps.updateFileInfoStatus(record.id, 'skipped');
break;
Expand Down

0 comments on commit 1bd6624

Please sign in to comment.