At this line there's the debug log and it will always say memory:
|
log.Debug().Str("type", string(cacheConfig.Type)).Msg("Cache initialized") |
Then, if redis is configured, it gets setup after the debug log. Please move the debug log after that.
I was beating my head against the wall trying to figure out what I had wrong and the cache wasn't using redis until I looked at the code and realized this was happening.
At this line there's the debug log and it will always say memory:
dashbrr/cmd/dashbrr/main.go
Line 168 in 8255387
Then, if redis is configured, it gets setup after the debug log. Please move the debug log after that.
I was beating my head against the wall trying to figure out what I had wrong and the cache wasn't using redis until I looked at the code and realized this was happening.