We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5070be0 commit b0bbd08Copy full SHA for b0bbd08
src/manifold/executor.clj
@@ -115,7 +115,7 @@
115
| `initial-thread-count` | the number of threads that the pool should begin with.
116
| `onto?` | if true, all streams and deferred generated in the scope of this executor will also be 'on' this executor."
117
[{:keys [thread-factory
118
- queue-length
+ ^long queue-length
119
stats-callback
120
sample-period
121
control-period
@@ -169,7 +169,7 @@
169
"Returns an executor which has a fixed number of threads."
170
([num-threads]
171
(fixed-thread-executor num-threads nil))
172
- ([num-threads options]
+ ([^long num-threads options]
173
(instrumented-executor
174
(-> options
175
(update-in [:queue-length] #(or % Integer/MAX_VALUE))
0 commit comments