Skip to content

Commit 282c219

Browse files
committed
Correct connection-timeout docstring in def-http-method, too
1 parent 9223638 commit 282c219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/http.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
| `follow-redirects?` | whether to follow redirects, defaults to `true`; see `aleph.http.client-middleware/handle-redirects`
486486
| `pool` | a custom connection pool
487487
| `pool-timeout` | timeout in milliseconds for the pool to generate a connection
488-
| `connection-timeout` | timeout in milliseconds for the connection to become established, defaults to 60s. Note that this timeout will be ineffective if the pool's `connect-timeout` is lower.
488+
`connection-timeout` | timeout in milliseconds for the connection to become established, defaults to `aleph.netty/default-connect-timeout`. Note that this timeout will be ineffective if the pool's `connect-timeout` is lower.
489489
| `request-timeout` | timeout in milliseconds for the arrival of a response over the established connection
490490
| `read-timeout` | timeout in milliseconds for the response to be completed
491491
| `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)")

0 commit comments

Comments
 (0)