dirigiste
dirigiste copied to clipboard
centrally-planned object and thread pools
I assume this is not intentional – pool will not adjust upwards if the adjustment value for a key is exactly 1. Not critical, but slightly annoying.
https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html#awaitTermination(long,%20java.util.concurrent.TimeUnit) > true if this executor terminated and false if the timeout elapsed before termination However, in practice it seems to return true for a trivial case: ``` (let [^io.aleph.dirigiste.Executor...
Hello Zach, I had a problem while using the `utilization-executor` in manifold and tracked it down to `dirigiste`. I think. Basically as you can see by running `lein run` in...
It would be really nice to be able to tune the number of threads available at runtime.
It seems that dirigiste is causing my java processes to not exit and I noticed that threads are not being started as daemon threads. Is that intentional? Is there something...
I assume this is not intentional – pool will not adjust upwards if the adjustment value for a key is exactly 1. Not critical, but slightly annoying. Co-authored-by: alexander-yakushev
## Description `awaitTermination` should return false if latch timed out Fixes #29
For some reason, on my 2019 Macbook Pro, running Clojure 1.11.1, [this test](https://github.com/clj-commons/dirigiste/blob/89fe9c5f9d7dd1d6acc25ff78b6810bab99202b5/test/clojure/dirigiste/executor_test.clj#L56) fails for me consistently: ``` FAIL in (test-executor) (executor_test.clj:56) expected: (< 15 (.getNumWorkers (stress-executor ex 16 100000.0...