{"action":"created","issue":{"url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/36","labels_url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/36/comments","events_url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/36/events","html_url":"https://github.com/shogo82148/Redis-Fast/issues/36","id":60464279,"number":36,"title":"First connection use \"every\" instead of \"cnx_timeout\"","user":{"login":"celogeek","id":65178,"avatar_url":"https://avatars.githubusercontent.com/u/65178?v=3","gravatar_id":"","url":"https://api.github.com/users/celogeek","html_url":"https://github.com/celogeek","followers_url":"https://api.github.com/users/celogeek/followers","following_url":"https://api.github.com/users/celogeek/following{/other_user}","gists_url":"https://api.github.com/users/celogeek/gists{/gist_id}","starred_url":"https://api.github.com/users/celogeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/celogeek/subscriptions","organizations_url":"https://api.github.com/users/celogeek/orgs","repos_url":"https://api.github.com/users/celogeek/repos","events_url":"https://api.github.com/users/celogeek/events{/privacy}","received_events_url":"https://api.github.com/users/celogeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T08:13:06Z","updated_at":"2015-03-10T14:09:09Z","closed_at":null,"body":"Hi,\r\n\r\nThe first connection use \"every\" params. By default it is set to \"0.1ms\" which make almost impossible to connect on a remote (though vpn) connection.\r\nEven if the \"cnx_timeout\" is not set (mean no limit), it use the \"every\" params to try to reach the server.\r\n\r\nI think the order should be :\r\n\r\nfirst connection : cnx_timeout (if one set, or unlimit)\r\n\r\nin case of disconnection with auto reconnect feature :\r\n  try to connect using the cnx_timeout\r\n  if fail, wait \"every\"\r\n  retry until we reach the \"reconnect\"\r\n\r\nWhat do you think ?  "},"comment":{"url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/comments/78059998","html_url":"https://github.com/shogo82148/Redis-Fast/issues/36#issuecomment-78059998","issue_url":"https://api.github.com/repos/shogo82148/Redis-Fast/issues/36","id":78059998,"user":{"login":"shogo82148","id":1157344,"avatar_url":"https://avatars.githubusercontent.com/u/1157344?v=3","gravatar_id":"","url":"https://api.github.com/users/shogo82148","html_url":"https://github.com/shogo82148","followers_url":"https://api.github.com/users/shogo82148/followers","following_url":"https://api.github.com/users/shogo82148/following{/other_user}","gists_url":"https://api.github.com/users/shogo82148/gists{/gist_id}","starred_url":"https://api.github.com/users/shogo82148/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogo82148/subscriptions","organizations_url":"https://api.github.com/users/shogo82148/orgs","repos_url":"https://api.github.com/users/shogo82148/repos","events_url":"https://api.github.com/users/shogo82148/events{/privacy}","received_events_url":"https://api.github.com/users/shogo82148/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T14:09:09Z","updated_at":"2015-03-10T14:09:09Z","body":"i think that, too.\r\nit's old implementation when `cnx_timeout` has not been supported.\r\nmerged https://github.com/shogo82148/Redis-Fast/pull/37\r\n"}}