{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/connection_pool/issues/60","labels_url":"https://api.github.com/repos/mperham/connection_pool/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/mperham/connection_pool/issues/60/comments","events_url":"https://api.github.com/repos/mperham/connection_pool/issues/60/events","html_url":"https://github.com/mperham/connection_pool/issues/60","id":39483499,"number":60,"title":"Getting a Timeout::Error but there's no reason I can see for the connections to still be in use?","user":{"login":"Altonymous","id":573690,"avatar_url":"https://avatars.githubusercontent.com/u/573690?v=3","gravatar_id":"","url":"https://api.github.com/users/Altonymous","html_url":"https://github.com/Altonymous","followers_url":"https://api.github.com/users/Altonymous/followers","following_url":"https://api.github.com/users/Altonymous/following{/other_user}","gists_url":"https://api.github.com/users/Altonymous/gists{/gist_id}","starred_url":"https://api.github.com/users/Altonymous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Altonymous/subscriptions","organizations_url":"https://api.github.com/users/Altonymous/orgs","repos_url":"https://api.github.com/users/Altonymous/repos","events_url":"https://api.github.com/users/Altonymous/events{/privacy}","received_events_url":"https://api.github.com/users/Altonymous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-05T04:03:43Z","updated_at":"2015-04-17T01:33:03Z","closed_at":null,"body":"I created this gist to show an example of my code...\r\n\r\nhttps://gist.github.com/Altonymous/5e7accc7c64cbbe4c922\r\n\r\nI am using sidekiq and connection_pool.\r\n\r\nIf I set my workers higher than my connection pool size then these errors start happening.. I've looked at the database and no queries are running an exceptionally long time.. none of them are anywhere near the 120 seconds timeout I set.\r\n\r\nAlso I've checked the jobs themselves and none are running that long.  I'm not sure why the connections aren't being released back to the pool or how to give an example that reproduces this issue.\r\n\r\nI'm happy to pull any additional information I can, or if you see something in the code that doesn't look right I'm happy to make modifications as well."},"comment":{"url":"https://api.github.com/repos/mperham/connection_pool/issues/comments/93874513","html_url":"https://github.com/mperham/connection_pool/issues/60#issuecomment-93874513","issue_url":"https://api.github.com/repos/mperham/connection_pool/issues/60","id":93874513,"user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T01:33:03Z","updated_at":"2015-04-17T01:33:03Z","body":"The gist is deleted, and there's been no activity on this issue for month. @mperham: good to close?"}}