Commit 7fe8feb4 authored by yanzg's avatar yanzg

升级新版本

parent 8d3d3c20
...@@ -23,7 +23,7 @@ public class ThreadHelper { ...@@ -23,7 +23,7 @@ public class ThreadHelper {
private static RunPlan interval; private static RunPlan interval;
private static final long SECOND_UNIT = 1000; private static final long SECOND_UNIT = 1000;
private static final long NEXT_SECOND = 5; private static final long NEXT_SECOND = 5;
private static final int THREAD_SIZE = 1000; private static final int THREAD_SIZE = 10000;
/** /**
* 线程对象 * 线程对象
*/ */
......
...@@ -22,7 +22,7 @@ public class TestTimeout { ...@@ -22,7 +22,7 @@ public class TestTimeout {
@Test @Test
public void testQueue() { public void testQueue() {
for (int i = 0; i < 50000; i++) { for (int i = 0; i < 10000; i++) {
ThreadHelper.runThread(() -> test()); ThreadHelper.runThread(() -> test());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment