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

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
takayama-lily committed Apr 9, 2022
1 parent 0496d1b commit ead1855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class Client extends BaseClient {
ignore_self: true,
resend: true,
cache_group_member: true,
reconn_interval: 8,
reconn_interval: 5,
data_dir: path.join(require?.main?.path || process.cwd(), "data"),
...conf,
}
Expand Down Expand Up @@ -629,7 +629,7 @@ export interface Config {
/** 数据存储文件夹,需要可写权限,默认主模块下的data文件夹 */
data_dir?: string
/**
* 触发system.offline.network事件后的重新登录间隔秒数,默认8(秒),不建议设置过低
* 触发system.offline.network事件后的重新登录间隔秒数,默认5(秒),不建议设置过低
* 设置为0则不会自动重连,然后你可以监听此事件自己处理
*/
reconn_interval?: number
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "oicq",
"version": "2.2.1",
"upday": "2021/3/16",
"version": "2.2.2",
"upday": "2021/4/9",
"description": "QQ protocol!",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit ead1855

Please sign in to comment.