Skip to content

Commit 287f572

Browse files
committed
fix: only ingest snp chain events to avoid db bloat
1 parent 156d8f6 commit 287f572

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"@fastify/swagger": "8.15.0",
9898
"@fastify/type-provider-typebox": "4.0.0",
9999
"@hirosystems/api-toolkit": "1.9.0",
100-
"@hirosystems/salt-n-pepper-client": "1.1.1",
100+
"@hirosystems/salt-n-pepper-client": "1.1.2",
101101
"@scure/base": "1.1.1",
102102
"@sinclair/typebox": "0.32.35",
103103
"@stacks/common": "6.10.0",

src/event-stream/snp-event-stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class SnpEventStreamHandler {
3535
this.snpClientStream = new StacksEventStream({
3636
redisUrl: this.redisUrl,
3737
redisStreamPrefix: this.redisStreamPrefix,
38-
eventStreamType: StacksEventStreamType.all,
38+
eventStreamType: StacksEventStreamType.chainEvents,
3939
lastMessageId: opts.lastMessageId,
4040
appName,
4141
});

0 commit comments

Comments
 (0)