Skip to content

Commit

Permalink
update netty.clj
Browse files Browse the repository at this point in the history
  • Loading branch information
ztellman committed Oct 9, 2011
1 parent 4e01972 commit d2ca7e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aleph/netty.clj
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@
[pipeline-fn options]
(let [options (merge
{:name (gensym "server.")
:thread-pool {:max-thread-count (.availableProcessors (Runtime/getRuntime))}}
:thread-pool {:max-thread-count (.availableProcessors (Runtime/getRuntime))}
}
options)
tp (let [tp (merge
{:name (str (:name options) ":thread-pool")}
Expand Down

0 comments on commit d2ca7e6

Please sign in to comment.