From cc1058d39ced9f79928033980d027ad84922421d Mon Sep 17 00:00:00 2001 From: Jan Olszak Date: Mon, 5 Jun 2023 17:15:55 +0200 Subject: [PATCH] Specify redis channel name that is used to send interactions --- src/utils/config/forwarder.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/config/forwarder.go b/src/utils/config/forwarder.go index efe6e5f9..05116382 100644 --- a/src/utils/config/forwarder.go +++ b/src/utils/config/forwarder.go @@ -5,8 +5,12 @@ import "github.com/spf13/viper" type Forwarder struct { // How many L1 interactions are fetched from the DB at once FetcherBatchSize int + + // Interactions are saved to this Redis channel + PublisherRedisChannelName string } func setForwarderDefaults() { viper.SetDefault("Forwarder.FetcherBatchSize", "100") + viper.SetDefault("Forwarder.PublisherRedisChannelName", "interactions") }