modify: changed cache_key format data
This commit is contained in:
parent
86b0d3d6c9
commit
dde117e7e6
1 changed files with 2 additions and 2 deletions
|
@ -144,9 +144,9 @@ async fn results(
|
||||||
|
|
||||||
// We sort the list of engine so the cache keys will match between users. The cookie's list of engines is unordered.
|
// We sort the list of engine so the cache keys will match between users. The cookie's list of engines is unordered.
|
||||||
cookie_engines.sort();
|
cookie_engines.sort();
|
||||||
cache_key = format!("{}{}", cache_key, cookie_engines.join(","));
|
cache_key = format!("{cache_key}&engines={}", cookie_engines.join(","));
|
||||||
} else {
|
} else {
|
||||||
cache_key = format!("{}{}", cache_key, config_engines.join(","));
|
cache_key = format!("{cache_key}&engines={}", config_engines.join(","));
|
||||||
}
|
}
|
||||||
|
|
||||||
// fetch the cached results json.
|
// fetch the cached results json.
|
||||||
|
|
Loading…
Add table
Reference in a new issue