koishijs / koishijs/koishi-plugin-github

无法授权登录 max listener count (64) for event <ready> exceeded, which may be caused by a memory leak

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## log摘要:
[app] max listener count (64) for event exceeded, which may be caused by a memory leak
## 进行的操作
![image](https://user-images.githubusercontent.com/94176676/209800702-c99e53e1-108c-429b-bb20-5d6f2a8b0e70.png)
## 声明
已多次确认appid与appsecert正确
## 环境
System:
OS: Linux 5.4 Alpine Linux
CPU: (8) x64 Intel(R) Xeon(R) Gold 6133 CPU @ 2.50GHz

Binaries:
Node: 18.12.1
Yarn: 1.22.19

Koishi:
Core: 4.10.10
Console: 5.0.0
平台:沙盒
## 操作 log 数据库展示视频
https://musetransfer.com/s/py3ie6tau(有效期至2023年1月4日)|【Muse】你有一份文件待查收,请点击链接获取文件
## 让我试试机器人授权链接后的行为
点击链接加入群聊【zpi、多玩幻灵qwq】:https://jq.qq.com/?_wv=1027&k=n3UflT2L

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the sandbox authorization flow from the linked issue using the reported Koishi, Node, Linux, and Yarn versions, then inspect where repeated authorization attempts register the ready listener. Confirm the app can complete authorization without the max-listener warning and without accumulating listeners.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, node.js, typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.