Spaces:
Running
Running
S Dheeraj
commited on
Updated redis_cacher.rs
Browse files
src/cache/redis_cacher.rs
CHANGED
@@ -59,7 +59,7 @@ impl RedisCache {
|
|
59 |
///
|
60 |
/// * `url` - It takes an url as string.
|
61 |
fn hash_url(&self, url: &str) -> String {
|
62 |
-
|
63 |
}
|
64 |
|
65 |
/// A function which fetches the cached json results as json string from the redis server.
|
|
|
59 |
///
|
60 |
/// * `url` - It takes an url as string.
|
61 |
fn hash_url(&self, url: &str) -> String {
|
62 |
+
digest(url)
|
63 |
}
|
64 |
|
65 |
/// A function which fetches the cached json results as json string from the redis server.
|