Skip to content

Commit 8850c3b

Browse files
authored
Merge pull request #587 from arnaudgeiser/575
Document response-executor for http/request
2 parents c5654a1 + a5d805c commit 8850c3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph/http.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@
280280
| `pool` | a custom connection pool
281281
| `middleware` | custom client middleware for the request
282282
| `pool-timeout` | timeout in milliseconds for the pool to generate a connection
283+
| `response-executor` | optional `java.util.concurrent.Executor` that will handle the requests (defaults to a `flow/utilization-executor` of 256 `max-threads` and a `queue-length` of 0)
283284
| `connection-timeout` | timeout in milliseconds for the connection to become established
284285
| `request-timeout` | timeout in milliseconds for the arrival of a response over the established connection
285286
| `read-timeout` | timeout in milliseconds for the response to be completed
@@ -290,8 +291,7 @@
290291
response-executor
291292
connection-timeout
292293
request-timeout
293-
read-timeout
294-
follow-redirects?]
294+
read-timeout]
295295
:or {pool default-connection-pool
296296
response-executor default-response-executor
297297
middleware identity

0 commit comments

Comments
 (0)