diff --git a/packages/indexer-common/src/indexer-management/allocations.ts b/packages/indexer-common/src/indexer-management/allocations.ts index 191e121b0..569632408 100644 --- a/packages/indexer-common/src/indexer-management/allocations.ts +++ b/packages/indexer-common/src/indexer-management/allocations.ts @@ -645,14 +645,14 @@ export class AllocationManager { logger.debug( `Updating indexing rules so indexer-agent keeps the deployment synced but doesn't reallocate to it`, ) - const offchainIndexingRule = { + const neverIndexingRule = { identifier: allocation.subgraphDeployment.id.ipfsHash, protocolNetwork: this.network.specification.networkIdentifier, identifierType: SubgraphIdentifierType.DEPLOYMENT, - decisionBasis: IndexingDecisionBasis.OFFCHAIN, + decisionBasis: IndexingDecisionBasis.NEVER, } as Partial - await upsertIndexingRule(logger, this.models, offchainIndexingRule) + await upsertIndexingRule(logger, this.models, neverIndexingRule) return { actionID,