We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec0c4b commit 765e278Copy full SHA for 765e278
1 file changed
tests/unit/config/config_test.go
@@ -29,8 +29,8 @@ func TestConfigLoading(t *testing.T) {
29
t.Errorf("Expected default max memory '8GB', got %s", cfg.Cache.MaxMemory)
30
}
31
32
- if cfg.Cache.DefaultTTL != "1h" {
33
- t.Errorf("Expected default TTL '1h', got %s", cfg.Cache.DefaultTTL)
+ if cfg.Cache.DefaultTTL != "0" {
+ t.Errorf("Expected default TTL '0' (infinite), got %s", cfg.Cache.DefaultTTL)
34
35
36
if cfg.Logging.Level != "info" {
0 commit comments