获取群成员信息阻塞以及上传图片发生阻塞
-
"pool-6-thread-18" #60 prio=5 os_prio=0 tid=0x00007f2d1803e800 nid=0x3ef02d runnable [0x00007f2d109e7000] java.lang.Thread.State: RUNNABLE at net.mamoe.mirai.internal.contact.CommonGroupImpl.get(GroupImpl.kt:210) at net.mamoe.mirai.internal.contact.CommonGroupImpl.get(GroupImpl.kt:135) at com.king.api.messageapis.group.MessageRank.sendRank(MessageRank.java:71) at com.king.api.messageapis.group.MessageRank.sendRank(MessageRank.java:50) at com.king.api.messageapis.group.MessageRank.handler(MessageRank.java:45) at com.king.api.messageapis.GroupMessageApiGroup.lambda$handler$0(GroupMessageApiGroup.java:65) at com.king.api.messageapis.GroupMessageApiGroup$$Lambda$875/1976446850.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)
"pool-6-thread-30" #74 prio=5 os_prio=0 tid=0x00007fc8f4053800 nid=0xc4be in Object.wait() [0x00007fc8e9de2000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000e210de80> (a me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspend) at java.lang.Object.wait(Object.java:502) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspend.await(RunSuspend.kt:38) - locked <0x00000000e210de80> (a me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspend) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:19) at net.mamoe.mirai.contact.Contact$Companion.uploadImage(Contact.kt) at net.mamoe.mirai.contact.Contact$Companion.uploadImage$default(Contact.kt:155) at net.mamoe.mirai.contact.Contact$Companion.uploadImage(Contact.kt) at net.mamoe.mirai.contact.Contact.uploadImage(Contact.kt) at com.king.api.messageapis.group.MessageRank.sendRank(MessageRank.java:91) at com.king.api.messageapis.group.MessageRank.sendRank(MessageRank.java:54) at com.king.api.messageapis.group.MessageRank.handler(MessageRank.java:49) at com.king.api.messageapis.GroupMessageApiGroup.lambda$handler$0(GroupMessageApiGroup.java:65) at com.king.api.messageapis.GroupMessageApiGroup$$Lambda$878/1694548510.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)
以上是线程被阻塞时的一些信息,重启应用后又恢复正常了,不太清楚这是不是风控导致的。
还有就是最近发现同一批被设置的群成员特殊头衔部分获取不到,包括设置头衔的事件也收不到。不确定是不是qq没有及时更新那部分信息导致的