Skip to content

Commit

Permalink
Debug logs in distribution flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Oct 19, 2023
1 parent 5c2d430 commit 49de88c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valid-ator",
"version": "0.10.3",
"version": "0.10.4",
"description": "",
"contributors": [
"ATOR Labs",
Expand Down
4 changes: 4 additions & 0 deletions src/tasks/processors/distribution-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export class DistributionQueue extends WorkerHost {
await job.getChildrenValues(),
)
this.logger.log(`Jobs data ${jobsData.length}`)
if (jobsData.length > 0) {
this.logger.log(`Job detail ${jobsData[0]}`)
}

const { processedScores, failedScores } = jobsData.reduce(
(acc, curr) => {
if (curr.result) {
Expand Down

0 comments on commit 49de88c

Please sign in to comment.