File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " bb8-redis"
3- version = " 0.24.0 "
3+ version = " 0.25.0-rc.1 "
44edition = " 2021"
55rust-version = " 1.75"
66description = " Full-featured async (tokio-based) redis connection pool (like r2d2)"
@@ -9,7 +9,7 @@ repository = "https://github.com/djc/bb8"
99
1010[dependencies ]
1111bb8 = { version = " 0.9" , path = " ../bb8" }
12- redis = { version = " 0.32 " , default-features = false , features = [" tokio-comp" ] }
12+ redis = { version = " 1.0.0-rc.1 " , default-features = false , features = [" tokio-comp" ] }
1313
1414[dev-dependencies ]
1515futures-util = " 0.3.15"
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ impl bb8::ManageConnection for RedisConnectionManager {
6969 let pong: String = redis:: cmd ( "PING" ) . query_async ( conn) . await ?;
7070 match pong. as_str ( ) {
7171 "PONG" => Ok ( ( ) ) ,
72- _ => Err ( ( ErrorKind :: ResponseError , "ping request" ) . into ( ) ) ,
72+ _ => Err ( ( ErrorKind :: Extension , "ping request" ) . into ( ) ) ,
7373 }
7474 }
7575
You can’t perform that action at this time.
0 commit comments