Skip to content

Commit

Permalink
Add different key prefix to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB authored and sylvestre committed Feb 20, 2024
1 parent 9a00e7e commit 6ebc516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ fn config_overrides() {
redis: Some(RedisCacheConfig {
url: "myotherredisurl".to_owned(),
ttl: 24 * 3600,
key_prefix: String::new(),
key_prefix: "/redis/prefix".into(),
}),
..Default::default()
},
Expand All @@ -1225,7 +1225,7 @@ fn config_overrides() {
}),
redis: Some(RedisCacheConfig {
url: "myredisurl".to_owned(),
ttl: 24 * 3600,
ttl: 25 * 3600,
key_prefix: String::new(),
}),
..Default::default()
Expand All @@ -1240,7 +1240,7 @@ fn config_overrides() {
cache: Some(CacheType::Redis(RedisCacheConfig {
url: "myotherredisurl".to_owned(),
ttl: 24 * 3600,
key_prefix: String::new(),
key_prefix: "/redis/prefix".into(),
}),),
fallback_cache: DiskCacheConfig {
dir: "/env-cache".into(),
Expand Down

0 comments on commit 6ebc516

Please sign in to comment.