Skip to content

Commit a562df4

Browse files
authored
fix: dedup gauge (#6359)
# Description Fixing dedup gauge. ## Linear Ticket Fixes [PIPE-2402](https://linear.app/rudderstack/issue/PIPE-2402/fix-rudder-server-dedup-gauge) ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
1 parent 23a5c81 commit a562df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/dedup/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func NewDB(conf *config.Config, s stats.Stats, log logger.Logger) (types.DB, err
7979
modeGauge("keydb", "badger")
8080
return NewMirrorDB(primary, mirror, mirrorToBadger, conf, s, log), nil
8181
default:
82-
modeGauge("keydb", "none")
82+
modeGauge("badger", "none")
8383
log.Warnn("Invalid mirror mode, falling back to badger only")
8484
// Default to badger only
8585
return badger.NewBadgerDB(conf, s, badger.DefaultPath())

0 commit comments

Comments
 (0)