1
0
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:
Nikolay Kim 2018-01-22 01:05:50 -08:00
parent 237030dbfc
commit cb4a6036f8

View File

@ -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);