{"action":"opened","issue":{"url":"https://api.github.com/repos/RedisLabs/redis-quartz/issues/11","repository_url":"https://api.github.com/repos/RedisLabs/redis-quartz","labels_url":"https://api.github.com/repos/RedisLabs/redis-quartz/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/RedisLabs/redis-quartz/issues/11/comments","events_url":"https://api.github.com/repos/RedisLabs/redis-quartz/issues/11/events","html_url":"https://github.com/RedisLabs/redis-quartz/issues/11","id":205237160,"number":11,"title":"Finally block does not release jedis resources back to the pool","user":{"login":"abhishek-goyal","id":4553285,"avatar_url":"https://avatars.githubusercontent.com/u/4553285?v=3","gravatar_id":"","url":"https://api.github.com/users/abhishek-goyal","html_url":"https://github.com/abhishek-goyal","followers_url":"https://api.github.com/users/abhishek-goyal/followers","following_url":"https://api.github.com/users/abhishek-goyal/following{/other_user}","gists_url":"https://api.github.com/users/abhishek-goyal/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishek-goyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishek-goyal/subscriptions","organizations_url":"https://api.github.com/users/abhishek-goyal/orgs","repos_url":"https://api.github.com/users/abhishek-goyal/repos","events_url":"https://api.github.com/users/abhishek-goyal/events{/privacy}","received_events_url":"https://api.github.com/users/abhishek-goyal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-03T18:43:00Z","updated_at":"2017-02-03T18:43:00Z","closed_at":null,"body":"Using try with resources just closes the resource defined in the try part and does not return it back to the pool. This leads to pool.getResource() to timeout once the pools connections are exhausted.\r\n\r\n`try (Jedis jedis = pool.getResource()) {\r\n    lockPool.acquire();\r\n    // code\r\n} finally {\r\n    lockPool.release();\r\n}`\r\n"}}
{"actor":{"display_login":"abhishek-goyal"}}