mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 04:36:53 +00:00
Instrument BlockingThreadPoolExecutor.
This commit is contained in:
1 parent
6f767a72a7
commit
c17cc07b73
3 files changed
+18
-4
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ public class BlockingThreadPoolExecutorTest {
|
||||
|
||||
@Test
|
||||
public void testBlocking() {
|
||||
BlockingThreadPoolExecutor executor = new BlockingThreadPoolExecutor(1, 3);
|
||||
BlockingThreadPoolExecutor executor = new BlockingThreadPoolExecutor("test", 1, 3);
|
||||
long start = System.currentTimeMillis();
|
||||
|
||||
executor.execute(new Runnable() {
|
||||
|
||||
Reference in new issue
Block a user