File tree Expand file tree Collapse file tree
indexer-common/src/allocations Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments