Skip to content

Commit 8165eea

Browse files
committed
Drop fixed HTTP server shutdown timeout
This is a WIP artifact from the patch which introduced HTTP/2 support. It is no longer needed and dropping it reduces test suite runtime from roughly 5 minutes to roughly 40 seconds. See #687 (comment) for discussion.
1 parent f4f6ab0 commit 8165eea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/aleph/netty.clj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,9 +1729,7 @@
17291729
(d/finally'
17301730
;; 3. At this stage, stop the EventLoopGroup, this will cancel any
17311731
;; in flight pending requests.
1732-
;; We still wait 1.5s to gracefully end repeating tasks
1733-
;; like the date-header-value.
1734-
#(.shutdownGracefully group 1500 1500 TimeUnit/MILLISECONDS)))
1732+
#(.shutdownGracefully group 0 0 TimeUnit/MILLISECONDS)))
17351733
(when on-close
17361734
(d/chain'
17371735
(wrap-future (.terminationFuture group))

0 commit comments

Comments
 (0)