0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 20:38:22 -05:00

Updated redis_cacher.rs

This commit is contained in:
S Dheeraj 2023-11-20 08:53:30 +05:30 committed by GitHub
parent dc5fa842c0
commit 89542072c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.