-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用message http-timeout作为签名服务超时设置; 提供 1.1.6 版本以上 qsign 的对接支持 #2307
Conversation
感谢,测试2个问题都解决了。 |
反复出现 |
签名器版本 https://github.com/fuqiuluo/unidbg-fetch-qsign/releases/tag/1.1.7 |
有的时候会一次新重新注册三次 |
应该是你发消息频率太快了,还没注册完后面又注册() |
开启qsign的自动注册应该可以暂时解决一下 |
开着,我觉得有可能还是超时了,我试试看 |
要是签名服务器可用性高点这边应该写的应该也能轻松很多了 |
我想过搞两个签名服务器 |
https://github.com/1umine/go-cqhttp/actions/runs/5692462867 |
行,等会试试 |
发消息的频率也控制一下吧,发太快可能自己没崩先被 tx 毙了() |
偶尔这样( |
我研究一下go-cq的令牌桶限速 |
我知道了,获取签名签名器必崩 |
可能需要sendpacket后才可以submit |
主要就是不知道这一步要怎么做,不知道用gocq的哪个东西,看MiraiGo那边有个 |
token的更新好像不是必须的? |
目前 token 看着好像确实是无关紧要,主要是一个小时候后 sign 返回的 token 会变成空的,不知道会有什么影响( |
Fix issue #2303
message
下http-timeout
的值)更新内容
auto-register
,可自行决定是否在实例丢失时自动注册,默认为false
,推荐使用 qsign 的自动注册auto-refresh-token
,可在 token 过期(丢失)时立即自动刷新 token,默认为false
refresh-interval
,默认 40 分钟android_id
参数修改为使用原始字符串(即device.json内的)而不是hex.EncodeToString
转成的其他
应该,目前是到 1.1.7 为止),当然还是用新的最好(没有破坏性更新的话)auto-refresh-token
以关闭丢失 token 时自动刷新,配置refresh-interval
为 0 关闭定时刷新,丢失 token 暂时没有什么影响。总之token不是空的了就好