Skip to content

Commit

Permalink
prepare v0.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Aug 30, 2021
1 parent db074ca commit d0b0e71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v0.18.2
=======

* Redis: reload data pipeline immediately upon reconnect, this should help to avoid one additional error after reconnecting to Redis

v0.18.1
=======

Expand Down
2 changes: 1 addition & 1 deletion redis_shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (s *RedisShard) registerScripts(scripts ...*redis.Script) {

// Best effort to process a signal for reloading data pipeline if we know
// that connection should be re-established. If the signal can't be processed
// then pipeline will be automatically reload upon first error from Redis.
// then pipeline will be automatically reloaded upon first error from Redis.
func (s *RedisShard) reloadPipeline() {
select {
case s.reloadPipelineCh <- struct{}{}:
Expand Down

0 comments on commit d0b0e71

Please sign in to comment.