Skip to content

Commit b1cb06d

Browse files
committed
Make aleph.netty/default-shutdown-timeout officially public
... and improve docstrings of it and default-connect-timeout some.
1 parent 6de88a0 commit b1cb06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/aleph/netty.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189

190190
;;; Defaults defined here since they are not publically exposed by Netty
191191

192-
(def ^:const ^:no-doc default-shutdown-timeout
193-
"Default timeout in seconds to wait for graceful shutdown complete"
192+
(def ^:const default-shutdown-timeout
193+
"Netty's default timeout in seconds to wait for graceful shutdown complete"
194194
15)
195195

196196
(def ^:const default-connect-timeout
197-
"Netty's default connect timeout."
197+
"Netty's default connect timeout in milliseconds."
198198
;; io.netty.channel.DefaultChannelConfig/DEFAULT_CONNECT_TIMEOUT
199199
30000)
200200

0 commit comments

Comments
 (0)