mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
set default *file_csv cache TTL to 5s
File exporters require positive TTL as content is flushed only upon cache expiration.
This commit is contained in:
committed by
Dan Christian Bogos
parent
de448ae11c
commit
364827ab58
@@ -401,7 +401,7 @@ func testConfigSSetConfigEEs(t *testing.T) {
|
||||
"enabled": true,
|
||||
"attributes_conns": []any{},
|
||||
"cache": map[string]any{
|
||||
"*file_csv": map[string]any{"limit": -1., "precache": false, "replicate": false, "static_ttl": false, "remote": false},
|
||||
"*file_csv": map[string]any{"limit": -1., "ttl": "5s", "precache": false, "replicate": false, "static_ttl": false, "remote": false},
|
||||
"*amqp_json_map": map[string]any{"limit": -1., "precache": false, "replicate": false, "static_ttl": false, "remote": false},
|
||||
"*amqpv1_json_map": map[string]any{"limit": -1., "precache": false, "replicate": false, "static_ttl": false, "remote": false},
|
||||
"*els": map[string]any{"limit": -1., "precache": false, "replicate": false, "static_ttl": false, "remote": false},
|
||||
|
||||
Reference in New Issue
Block a user