mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 08:10:25 +00:00
feat: 提高超时检测等待
This commit is contained in:
@@ -68,7 +68,7 @@ export class NTQQPacketApi {
|
|||||||
this.pkt = new PacketClientSession(this.core);
|
this.pkt = new PacketClientSession(this.core);
|
||||||
await this.pkt.init(process.pid, table.recv, table.send);
|
await this.pkt.init(process.pid, table.recv, table.send);
|
||||||
try {
|
try {
|
||||||
await this.pkt.operation.FetchRkey(1500);
|
await this.pkt.operation.FetchRkey(3000);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.logger.logError('测试Packet状态异常', error);
|
this.logger.logError('测试Packet状态异常', error);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user