Skip to content

Commit e559039

Browse files
committed
fix: formatting issues
1 parent 4bd934c commit e559039

3 files changed

Lines changed: 19 additions & 16 deletions

File tree

packages/indexer-agent/src/agent.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,15 +1130,14 @@ export class Agent {
11301130
forceAction,
11311131
)
11321132
} else {
1133-
const expiringAllocations =
1134-
await this.identifyExpiringAllocations(
1135-
logger,
1136-
activeDeploymentAllocations,
1137-
deploymentAllocationDecision,
1138-
epoch,
1139-
maxAllocationDuration,
1140-
network,
1141-
)
1133+
const expiringAllocations = await this.identifyExpiringAllocations(
1134+
logger,
1135+
activeDeploymentAllocations,
1136+
deploymentAllocationDecision,
1137+
epoch,
1138+
maxAllocationDuration,
1139+
network,
1140+
)
11421141
if (expiringAllocations.length > 0) {
11431142
if (isHorizon) {
11441143
// Horizon allocations don't need the close/reopen cycle.

packages/indexer-agent/src/commands/start.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ export const start = {
296296
group: 'Query Fees',
297297
})
298298
.option('rav-check-interval', {
299-
description:
300-
'How often the RAV processing loop runs, in seconds',
299+
description: 'How often the RAV processing loop runs, in seconds',
301300
type: 'number',
302301
default: 900,
303302
group: 'Query Fees',

packages/indexer-common/src/allocations/graph-tally-collector.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,16 @@ export class GraphTallyCollector {
423423
const allocationId = collectionIdToAllocationId(rav.rav.rav.collectionId)
424424
const isActive = await this.isActiveAllocation(allocationId)
425425
if (isActive && !this.isCooldownExpired(rav.rav.rav.collectionId)) {
426-
this.logger.trace('[TAPv2] Skipping active allocation RAV: cooldown not expired', {
427-
collectionId: rav.rav.rav.collectionId,
428-
lastCollectedAt: this.lastCollectedAt.get(rav.rav.rav.collectionId.toLowerCase()),
429-
ravCollectionInterval: this.ravCollectionInterval,
430-
})
426+
this.logger.trace(
427+
'[TAPv2] Skipping active allocation RAV: cooldown not expired',
428+
{
429+
collectionId: rav.rav.rav.collectionId,
430+
lastCollectedAt: this.lastCollectedAt.get(
431+
rav.rav.rav.collectionId.toLowerCase(),
432+
),
433+
ravCollectionInterval: this.ravCollectionInterval,
434+
},
435+
)
431436
results.belowThreshold.push(rav)
432437
return results
433438
}

0 commit comments

Comments
 (0)