Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit ead1855

Browse files
committed
update package.json
1 parent 0496d1b commit ead1855

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class Client extends BaseClient {
125125
ignore_self: true,
126126
resend: true,
127127
cache_group_member: true,
128-
reconn_interval: 8,
128+
reconn_interval: 5,
129129
data_dir: path.join(require?.main?.path || process.cwd(), "data"),
130130
...conf,
131131
}
@@ -629,7 +629,7 @@ export interface Config {
629629
/** 数据存储文件夹,需要可写权限,默认主模块下的data文件夹 */
630630
data_dir?: string
631631
/**
632-
* 触发system.offline.network事件后的重新登录间隔秒数,默认8(秒),不建议设置过低
632+
* 触发system.offline.network事件后的重新登录间隔秒数,默认5(秒),不建议设置过低
633633
* 设置为0则不会自动重连,然后你可以监听此事件自己处理
634634
*/
635635
reconn_interval?: number

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "oicq",
3-
"version": "2.2.1",
4-
"upday": "2021/3/16",
3+
"version": "2.2.2",
4+
"upday": "2021/4/9",
55
"description": "QQ protocol!",
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)