Skip to content

Commit

Permalink
fixed passing io-threads to the undertow handler
Browse files Browse the repository at this point in the history
  • Loading branch information
yogthos committed Dec 20, 2022
1 parent 8bda981 commit 33a4018
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.48
- fixed passing io-threads to the HTTP server

## 4.47
- luminus-aleph 0.2.0
- luminus-http-kit 0.2.0
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject luminus/lein-template "4.47"
(defproject luminus/lein-template "4.48"
:description "a template for creating Luminus applications"
:url "https://github.com/yogthos/luminus-template"
:license {:name "MIT License"
Expand Down
2 changes: 1 addition & 1 deletion resources/leiningen/new/luminus/core/src/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
(update :io-threads #(or % (* 2 (.availableProcessors (Runtime/getRuntime))))) <% endif %>
(assoc :handler (handler/app))
(update :port #(or (-> env :options :port) %))
(select-keys [:handler :host :port :async?])))
(select-keys [<% if undertow-based %>:io-threads <% endif %>:handler :host :port :async?])))
:stop
(http/stop http-server))

Expand Down

0 comments on commit 33a4018

Please sign in to comment.