Skip to content

Commit

Permalink
Merge branch 'bentomi/configure-minimal-grace'
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Mar 23, 2017
2 parents 2f0c13c + 07bbab5 commit ec4c413
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/clj_http/conn_mgr.clj
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@

:else regular-strategy-registry)]
(doto
(PoolingNHttpClientConnectionManager. (default-ioreactor) registry)
(PoolingNHttpClientConnectionManager. (-> (IOReactorConfig/custom)
(.setShutdownGracePeriod 1)
.build
DefaultConnectingIOReactor.)
registry)
(.setMaxTotal 1))))

(definterface ReuseableAsyncConnectionManager)
Expand Down

0 comments on commit ec4c413

Please sign in to comment.