Skip to content

Commit e5d56a2

Browse files
committed
delete cached first_indexed_block when pruning
1 parent 7b034ca commit e5d56a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/indexer/modules/lifecycleManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export class HyperionLifecycleManager {
160160
}
161161

162162
hLog(`Auto pruning completed.`);
163+
await this.master.ioRedisClient.del(`${this.manager.chain}::fib`);
163164
}
164165

165166
private attributesToObject(attributes: NodeAttributeRequirement[]): { [key: string]: string } {

src/indexer/modules/master.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class HyperionMaster {
132132

133133
private readonly cm: ConfigurationModule;
134134
private alerts?: AlertsManager;
135-
private ioRedisClient: Redis;
135+
ioRedisClient: Redis;
136136

137137
// Reversible Blocks
138138
private revBlockArray: RevBlock[] = [];

0 commit comments

Comments
 (0)