File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/indexer-common/src/indexer-management Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,9 @@ export class AllocationManager {
251
251
2 ,
252
252
) ,
253
253
currentEpoch,
254
- indexingStatuses : await this . graphNode . indexingStatus ( [ ] ) ,
254
+ indexingStatuses : await this . graphNode . indexingStatus (
255
+ actions . map ( ( action ) => new SubgraphDeploymentID ( action . deploymentID ! ) ) ,
256
+ ) ,
255
257
}
256
258
return await pMap (
257
259
actions ,
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ export class NetworkMonitor {
132
132
}
133
133
134
134
async allocations ( status : AllocationStatus ) : Promise < Allocation [ ] > {
135
+ const startTimeMs = Date . now ( )
135
136
try {
136
137
this . logger . debug ( `Fetch ${ status } allocations` )
137
138
let dataRemaining = true
@@ -202,6 +203,9 @@ export class NetworkMonitor {
202
203
)
203
204
}
204
205
206
+ this . logger . debug (
207
+ `Finished fetching ${ status } allocations in ${ Date . now ( ) - startTimeMs } ms` ,
208
+ )
205
209
return allocations
206
210
} catch ( error ) {
207
211
const err = indexerError ( IndexerErrorCode . IE010 , error )
You can’t perform that action at this time.
0 commit comments