Skip to content

Commit

Permalink
Sockets who need to redial to redis also need to subscribe again
Browse files Browse the repository at this point in the history
  • Loading branch information
pote committed Jul 1, 2016
1 parent 9c209ec commit 3a8ac3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const VERSION = "0.1.2"
const VERSION = "0.1.3"
1 change: 1 addition & 0 deletions socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (s *Socket) ListenToRedis() {
case error:
rConn.Close()
rConn = redis.PubSubConn{Conn: RedisPool.Get()}
rConn.Subscribe(s.redisChannels()...)
}
}
}
Expand Down

0 comments on commit 3a8ac3d

Please sign in to comment.