mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
Updated redis_cacher.rs
This commit is contained in:
parent
dc5fa842c0
commit
89542072c8
2
src/cache/redis_cacher.rs
vendored
2
src/cache/redis_cacher.rs
vendored
@ -59,7 +59,7 @@ impl RedisCache {
|
||||
///
|
||||
/// * `url` - It takes an url as string.
|
||||
fn hash_url(&self, url: &str) -> String {
|
||||
format!("{:?}", compute(url))
|
||||
digest(url)
|
||||
}
|
||||
|
||||
/// A function which fetches the cached json results as json string from the redis server.
|
||||
|
Loading…
Reference in New Issue
Block a user