{"action":"created","issue":{"url":"https://api.github.com/repos/edgurgel/verk/issues/4","labels_url":"https://api.github.com/repos/edgurgel/verk/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/edgurgel/verk/issues/4/comments","events_url":"https://api.github.com/repos/edgurgel/verk/issues/4/events","html_url":"https://github.com/edgurgel/verk/issues/4","id":123188103,"number":4,"title":"Handle case where Redis is down then up","user":{"login":"akira","id":43946,"avatar_url":"https://avatars.githubusercontent.com/u/43946?v=3","gravatar_id":"","url":"https://api.github.com/users/akira","html_url":"https://github.com/akira","followers_url":"https://api.github.com/users/akira/followers","following_url":"https://api.github.com/users/akira/following{/other_user}","gists_url":"https://api.github.com/users/akira/gists{/gist_id}","starred_url":"https://api.github.com/users/akira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akira/subscriptions","organizations_url":"https://api.github.com/users/akira/orgs","repos_url":"https://api.github.com/users/akira/repos","events_url":"https://api.github.com/users/akira/events{/privacy}","received_events_url":"https://api.github.com/users/akira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-20T22:56:59Z","updated_at":"2015-12-21T08:46:46Z","closed_at":null,"body":"I was playing with this, and saw an issue if we disconnect Redis and then reconnect it. \r\n\r\nOnce Redis is back up, I'm getting this error:\r\n```\r\nFailed to fetch retry set. Error: {:error, %Redix.Error{message: \"NOSCRIPT No matching script. Please use EVAL.\"}}\r\n```\r\nLooks like the Lua scripts need to be reloaded?  Wonder if there is a way to listen to disconnect/reconnect events from Redix."},"comment":{"url":"https://api.github.com/repos/edgurgel/verk/issues/comments/166234672","html_url":"https://github.com/edgurgel/verk/issues/4#issuecomment-166234672","issue_url":"https://api.github.com/repos/edgurgel/verk/issues/4","id":166234672,"user":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T08:46:46Z","updated_at":"2015-12-21T08:46:46Z","body":"Other safe way is to always load the scripts when a connection is set up ¯\\_(ツ)_/¯"}}