Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
fix(presets): redis broker doesn't depend on broadcaster
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 26, 2023
1 parent d7eec4a commit 5289f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (c *Config) loadHerokuPreset(defaults *Config) error {
}

func (c *Config) loadBrokerPreset(defaults *Config) error {
redisEnabled := (c.Redis.URL != defaults.Redis.URL) || strings.Contains(c.BroadcastAdapter, "redis")
redisEnabled := (c.Redis.URL != defaults.Redis.URL)
enatsEnabled := c.EmbedNats

if c.BrokerAdapter == defaults.BrokerAdapter {
Expand Down

0 comments on commit 5289f17

Please sign in to comment.