|
|
|
@@ -284,6 +284,7 @@ public class WechatCalllbackController extends BaseController { |
|
|
|
} |
|
|
|
} else { |
|
|
|
logger.info("unknown event, appId: " + appId); |
|
|
|
|
|
|
|
getThreadCount( 0 ); |
|
|
|
// 公众号 |
|
|
|
try { |
|
|
|
@@ -318,12 +319,9 @@ public class WechatCalllbackController extends BaseController { |
|
|
|
group = group.getParent(); |
|
|
|
} |
|
|
|
// 激活的线程数加倍 |
|
|
|
int estimatedSize = topGroup.activeCount() * 2; |
|
|
|
Thread[] slackList = new Thread[estimatedSize]; |
|
|
|
// 获取根线程组的所有线程 |
|
|
|
int actualSize = topGroup.enumerate(slackList); |
|
|
|
int activeCount = topGroup.activeCount(); |
|
|
|
// copy into a list that is the exact size |
|
|
|
logger.info("Thread list size == " + i + " : " + actualSize); |
|
|
|
logger.info("Thread list size == " + i + " : " + activeCount); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|