File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
swiftide-integrations/src/redis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl NodeCache for Redis {
2121 /// # Errors
2222 ///
2323 /// Logs an error and returns `false` if the cache check fails.
24- #[ tracing:: instrument( skip_all, name = "node_cache.redis.get" , fields ( hit ) ) ]
24+ #[ tracing:: instrument( skip_all, fields ( hit ) , level = "trace" ) ]
2525 async fn get ( & self , node : & Node ) -> bool {
2626 let cache_result = if let Some ( mut cm) = self . lazy_connect ( ) . await {
2727 let result = redis:: cmd ( "EXISTS" )
@@ -59,7 +59,7 @@ impl NodeCache for Redis {
5959 /// # Errors
6060 ///
6161 /// Logs an error if the node cannot be set in the cache.
62- #[ tracing:: instrument( skip_all, name = "node_cache.redis.get " ) ]
62+ #[ tracing:: instrument( skip_all, level = "trace " ) ]
6363 async fn set ( & self , node : & Node ) {
6464 if let Some ( mut cm) = self . lazy_connect ( ) . await {
6565 let result: Result < ( ) , redis:: RedisError > = redis:: cmd ( "SET" )
You can’t perform that action at this time.
0 commit comments