diff --git a/actix-redis/Cargo.toml b/actix-redis/Cargo.toml index 2bac7b8b1..54df28a69 100644 --- a/actix-redis/Cargo.toml +++ b/actix-redis/Cargo.toml @@ -32,7 +32,7 @@ web = [ actix = { version = "0.12.0", default-features = false } actix-rt = { version = "2.1", default-features = false } actix-service = "2.0.0" -actix-tls = { version = "3.0.0-beta.7", default-features = false, features = ["connect"] } +actix-tls = { version = "3.0.0-rc.1", default-features = false, features = ["connect"] } log = "0.4.6" backoff = "0.2.1" diff --git a/actix-redis/src/redis.rs b/actix-redis/src/redis.rs index 2586b1866..6cbc90996 100644 --- a/actix-redis/src/redis.rs +++ b/actix-redis/src/redis.rs @@ -4,7 +4,7 @@ use std::io; use actix::prelude::*; use actix_rt::net::TcpStream; use actix_service::boxed::{service, BoxService}; -use actix_tls::connect::{default_connector, Connect, ConnectError, Connection}; +use actix_tls::connect::{ConnectError, ConnectInfo as Connect, Connection, Connector}; use backoff::backoff::Backoff; use backoff::ExponentialBackoff; use log::{error, info, warn}; @@ -45,7 +45,7 @@ impl RedisActor { Supervisor::start(|_| RedisActor { addr, - connector: service(default_connector()), + connector: service(Connector::default().service()), cell: None, backoff, queue: VecDeque::new(),