{"action":"created","issue":{"url":"https://api.github.com/repos/go-redis/redis/issues/772","repository_url":"https://api.github.com/repos/go-redis/redis","labels_url":"https://api.github.com/repos/go-redis/redis/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/go-redis/redis/issues/772/comments","events_url":"https://api.github.com/repos/go-redis/redis/issues/772/events","html_url":"https://github.com/go-redis/redis/issues/772","id":325825089,"number":772,"title":"Can we introduce an option minIdleConnections ?","user":{"login":"darkpssngr","id":4415079,"avatar_url":"https://avatars1.githubusercontent.com/u/4415079?v=4","gravatar_id":"","url":"https://api.github.com/users/darkpssngr","html_url":"https://github.com/darkpssngr","followers_url":"https://api.github.com/users/darkpssngr/followers","following_url":"https://api.github.com/users/darkpssngr/following{/other_user}","gists_url":"https://api.github.com/users/darkpssngr/gists{/gist_id}","starred_url":"https://api.github.com/users/darkpssngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkpssngr/subscriptions","organizations_url":"https://api.github.com/users/darkpssngr/orgs","repos_url":"https://api.github.com/users/darkpssngr/repos","events_url":"https://api.github.com/users/darkpssngr/events{/privacy}","received_events_url":"https://api.github.com/users/darkpssngr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-23T18:34:51Z","updated_at":"2018-05-28T14:00:34Z","closed_at":null,"author_association":"NONE","body":"Issue\r\nI'm using redis-labs. The DNS resolution time for the endpoints they give are very high in regions other than US. Currently my service does not have that much traffic due to which idle connections are getting killed and new connections are spawned everytime a new request comes in. I tried turning off the IdleConnectionFrequencCheck by setting it to zero and using a custom dialer which sends keep-alive. But for some reason these connections get closed after sometime. not sure why? upon inspection of tcp dump we found that the termination is intiated by the client and not the server.\r\n\r\nI know this problem needs to be identified and fixed but was also wondering if we could have an option which lets us specify minimum idle connections so that we always have some connections on standby when there are spikes. Or is there any way we can avoid this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/go-redis/redis/issues/comments/392534982","html_url":"https://github.com/go-redis/redis/issues/772#issuecomment-392534982","issue_url":"https://api.github.com/repos/go-redis/redis/issues/772","id":392534982,"user":{"login":"darkpssngr","id":4415079,"avatar_url":"https://avatars1.githubusercontent.com/u/4415079?v=4","gravatar_id":"","url":"https://api.github.com/users/darkpssngr","html_url":"https://github.com/darkpssngr","followers_url":"https://api.github.com/users/darkpssngr/followers","following_url":"https://api.github.com/users/darkpssngr/following{/other_user}","gists_url":"https://api.github.com/users/darkpssngr/gists{/gist_id}","starred_url":"https://api.github.com/users/darkpssngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkpssngr/subscriptions","organizations_url":"https://api.github.com/users/darkpssngr/orgs","repos_url":"https://api.github.com/users/darkpssngr/repos","events_url":"https://api.github.com/users/darkpssngr/events{/privacy}","received_events_url":"https://api.github.com/users/darkpssngr/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T14:00:34Z","updated_at":"2018-05-28T14:00:34Z","author_association":"NONE","body":"Sorry. I've set the IdleCheckFrequency to -1 only. "}}
{"actor":{"display_login":"darkpssngr"}}