Skip to content

Commit b0bbd08

Browse files
committed
Resolve boxed math
1 parent 5070be0 commit b0bbd08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/manifold/executor.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
| `initial-thread-count` | the number of threads that the pool should begin with.
116116
| `onto?` | if true, all streams and deferred generated in the scope of this executor will also be 'on' this executor."
117117
[{:keys [thread-factory
118-
queue-length
118+
^long queue-length
119119
stats-callback
120120
sample-period
121121
control-period
@@ -169,7 +169,7 @@
169169
"Returns an executor which has a fixed number of threads."
170170
([num-threads]
171171
(fixed-thread-executor num-threads nil))
172-
([num-threads options]
172+
([^long num-threads options]
173173
(instrumented-executor
174174
(-> options
175175
(update-in [:queue-length] #(or % Integer/MAX_VALUE))

0 commit comments

Comments
 (0)