diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-06 09:58:21 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-06 09:58:21 +0000 |
commit | f7e36fd374fbc48357fb503a3496424e7cbde66d (patch) | |
tree | 6f31499416cf43e3b770a75095f892c615d9f5fa /jrt/src/com/yahoo | |
parent | 984d76f7233a680db6f195f1286d216f35f2741c (diff) |
Use 64 threads with 1s idle time.
Diffstat (limited to 'jrt/src/com/yahoo')
-rw-r--r-- | jrt/src/com/yahoo/jrt/Connector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jrt/src/com/yahoo/jrt/Connector.java b/jrt/src/com/yahoo/jrt/Connector.java index 0fdb6cfa380..57fad5a163d 100644 --- a/jrt/src/com/yahoo/jrt/Connector.java +++ b/jrt/src/com/yahoo/jrt/Connector.java @@ -11,7 +11,7 @@ import java.util.concurrent.TimeUnit; class Connector { - private final ExecutorService executor = new ThreadPoolExecutor(1, 8, 10L, TimeUnit.MILLISECONDS, + private final ExecutorService executor = new ThreadPoolExecutor(1, 64, 1L, TimeUnit.SECONDS, new LinkedBlockingQueue<>(), ThreadFactoryFactory.getDaemonThreadFactory("jrt.connector")); |