Skip to content

patch for redis server crash handling#40

Closed
kelaneren wants to merge 3 commits intodebasishg:masterfrom
spaceapegames:master
Closed

patch for redis server crash handling#40
kelaneren wants to merge 3 commits intodebasishg:masterfrom
spaceapegames:master

Conversation

@kelaneren
Copy link

When redis server is down, PubSub throws RedisConnectionException which crashes Consumer. There is no way for application to handle it, trigger recovery or do something.

This patch contains a simple solution to send a E message to callback function so that application could raise alert, retry to failure redis server or connect to a backup redis server.

The first commit is a project property change for our own project. please ignore it. Thanks

debasishg added a commit that referenced this pull request Sep 19, 2012
…to handle error by consumer when redis server gives an error
@debasishg debasishg closed this Sep 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants