{"action":"created","issue":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/288","labels_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/288/comments","events_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/288/events","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/288","id":127731043,"number":288,"title":"Exposing parameters for HTTP client request pool max connections in RestfulClientFactory","user":{"login":"matt-blanchette","id":4365537,"avatar_url":"https://avatars.githubusercontent.com/u/4365537?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-blanchette","html_url":"https://github.com/matt-blanchette","followers_url":"https://api.github.com/users/matt-blanchette/followers","following_url":"https://api.github.com/users/matt-blanchette/following{/other_user}","gists_url":"https://api.github.com/users/matt-blanchette/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-blanchette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-blanchette/subscriptions","organizations_url":"https://api.github.com/users/matt-blanchette/orgs","repos_url":"https://api.github.com/users/matt-blanchette/repos","events_url":"https://api.github.com/users/matt-blanchette/events{/privacy}","received_events_url":"https://api.github.com/users/matt-blanchette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T17:07:34Z","updated_at":"2016-01-22T02:45:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/pulls/288","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/288","diff_url":"https://github.com/jamesagnew/hapi-fhir/pull/288.diff","patch_url":"https://github.com/jamesagnew/hapi-fhir/pull/288.patch"},"body":"The current RestfulClientFactory uses the default HTTP client PoolingHttpClientConnectionManager settings for max number of connections.\r\nThe defaults for these are 20 max total connections and 2 max per route.\r\n\r\nThese changes expose parameters on RestfulClientFactory to allow overriding these defaults.\r\n\r\nThe default for max connections per route is also changed here from 2 to 20 (using the same value as max total connections).\r\n\r\nOther possible approaches:\r\n* Expose HttpClientBuilder in RestfulClientFactory, allow subclasses to override settings\r\n  * Expose a setter for IRestfulClientFactory in FhirContext to allow subclassing"},"comment":{"url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/comments/173786002","html_url":"https://github.com/jamesagnew/hapi-fhir/pull/288#issuecomment-173786002","issue_url":"https://api.github.com/repos/jamesagnew/hapi-fhir/issues/288","id":173786002,"user":{"login":"jamesagnew","id":3465117,"avatar_url":"https://avatars.githubusercontent.com/u/3465117?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesagnew","html_url":"https://github.com/jamesagnew","followers_url":"https://api.github.com/users/jamesagnew/followers","following_url":"https://api.github.com/users/jamesagnew/following{/other_user}","gists_url":"https://api.github.com/users/jamesagnew/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesagnew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesagnew/subscriptions","organizations_url":"https://api.github.com/users/jamesagnew/orgs","repos_url":"https://api.github.com/users/jamesagnew/repos","events_url":"https://api.github.com/users/jamesagnew/events{/privacy}","received_events_url":"https://api.github.com/users/jamesagnew/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T02:45:34Z","updated_at":"2016-01-22T02:45:34Z","body":"Thanks! This looks awesome, merging it now."}}