{"action":"created","issue":{"url":"https://api.github.com/repos/Netflix/Hystrix/issues/1242","repository_url":"https://api.github.com/repos/Netflix/Hystrix","labels_url":"https://api.github.com/repos/Netflix/Hystrix/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/Hystrix/issues/1242/comments","events_url":"https://api.github.com/repos/Netflix/Hystrix/issues/1242/events","html_url":"https://github.com/Netflix/Hystrix/issues/1242","id":159988351,"number":1242,"title":"Idle threads never terminated using default Hystrix thread pool","user":{"login":"mattrjacobs","id":205579,"avatar_url":"https://avatars.githubusercontent.com/u/205579?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrjacobs","html_url":"https://github.com/mattrjacobs","followers_url":"https://api.github.com/users/mattrjacobs/followers","following_url":"https://api.github.com/users/mattrjacobs/following{/other_user}","gists_url":"https://api.github.com/users/mattrjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrjacobs/subscriptions","organizations_url":"https://api.github.com/users/mattrjacobs/orgs","repos_url":"https://api.github.com/users/mattrjacobs/repos","events_url":"https://api.github.com/users/mattrjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/mattrjacobs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Netflix/Hystrix/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Netflix/Hystrix/labels/hystrix-core","name":"hystrix-core","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Netflix/Hystrix/milestones/19","html_url":"https://github.com/Netflix/Hystrix/milestones/1.5.7","labels_url":"https://api.github.com/repos/Netflix/Hystrix/milestones/19/labels","id":2035492,"number":19,"title":"1.5.7","description":"","creator":{"login":"mattrjacobs","id":205579,"avatar_url":"https://avatars.githubusercontent.com/u/205579?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrjacobs","html_url":"https://github.com/mattrjacobs","followers_url":"https://api.github.com/users/mattrjacobs/followers","following_url":"https://api.github.com/users/mattrjacobs/following{/other_user}","gists_url":"https://api.github.com/users/mattrjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrjacobs/subscriptions","organizations_url":"https://api.github.com/users/mattrjacobs/orgs","repos_url":"https://api.github.com/users/mattrjacobs/repos","events_url":"https://api.github.com/users/mattrjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/mattrjacobs/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-09-28T17:30:23Z","updated_at":"2016-10-06T19:51:55Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2016-06-13T16:12:42Z","updated_at":"2016-10-20T23:52:50Z","closed_at":null,"body":"Hystrix currently uses the 'coreSize' threadpool [config](https://github.com/Netflix/Hystrix/wiki/Configuration#coreSize) for both `ThreadPoolExecutor.corePoolSize` and `ThreadPoolExecutor.maximumPoolSize`.  The effect of this is that all Hystrix thread pools are fixed size.  That also implies that the keepAlive [config](https://github.com/Netflix/Hystrix/wiki/Configuration#keepalivetimeminutes) is only used when a plugin overrides the default Hystrix thread pool.\r\n\r\nThis issue will investigate changing the default Hystrix thread pool to accept `coreSize` and `maximumSize`, and letting idle threads time out.\r\n\r\nSee initial discussion in Hystrix Google Group: [https://groups.google.com/forum/#!topic/hystrixoss/lT4CZgt-KRk](https://groups.google.com/forum/#!topic/hystrixoss/lT4CZgt-KRk)"},"comment":{"url":"https://api.github.com/repos/Netflix/Hystrix/issues/comments/255259102","html_url":"https://github.com/Netflix/Hystrix/issues/1242#issuecomment-255259102","issue_url":"https://api.github.com/repos/Netflix/Hystrix/issues/1242","id":255259102,"user":{"login":"mattrjacobs","id":205579,"avatar_url":"https://avatars.githubusercontent.com/u/205579?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrjacobs","html_url":"https://github.com/mattrjacobs","followers_url":"https://api.github.com/users/mattrjacobs/followers","following_url":"https://api.github.com/users/mattrjacobs/following{/other_user}","gists_url":"https://api.github.com/users/mattrjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrjacobs/subscriptions","organizations_url":"https://api.github.com/users/mattrjacobs/orgs","repos_url":"https://api.github.com/users/mattrjacobs/repos","events_url":"https://api.github.com/users/mattrjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/mattrjacobs/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T23:52:50Z","updated_at":"2016-10-20T23:52:50Z","body":"I just merged in #1399, which adds a property (`hystrix.threadpool.<XXX>.allowMaximumSizeToDivergeFromCoreSize`) that controls whether the maximum size config value is used.  This forces users to opt-in and consciously choose this style of configuring threadpools.  It prevents this release from unintentionally changing behavior in existing apps.\r\n\r\nI'll update the docs around the new configuration options and then close this issue"}}
{"actor":{"display_login":"mattrjacobs"}}