mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-17 16:43:30 +01:00
update actix
This commit is contained in:
parent
237030dbfc
commit
cb4a6036f8
@ -70,7 +70,7 @@ impl Actor for RedisActor {
|
||||
.map(|stream, act, ctx| {
|
||||
info!("Connected to redis server: {}", act.addr);
|
||||
act.backoff.reset();
|
||||
act.cell = Some(act.add_framed(ctx, stream.framed(resp::RespCodec)));
|
||||
act.cell = Some(act.add_framed(stream.framed(resp::RespCodec), ctx));
|
||||
})
|
||||
.map_err(|err, act, ctx| {
|
||||
error!("Can not connect to redis server: {}", err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user