我在另一台服务器通过http-api的websocket接口请求mirai获取即时的聊天消息。
从我在QQ中发送消息到通过接口获取到消息有几十秒的延迟。
是否是因为mirai已经部署了一个月导致缓存过多的原因,或是其他的原因。
我应该如何改善。
补充信息(有需要我再补充):
mirai-api-http版本为1.10.0,websocket文档:https://github.com/project-mirai/mirai-api-http/blob/master_1.x/docs/API.md#通过websocket 通过countMessage接口获取到的缓存消息数为0。{"code":0,"errorMessage":"","data":0} 我的api-http配置文件: cors: - '*' host: 0.0.0.0 port: **** authKey: ******** cacheSize: 4096 enableWebsocket: true report: enable: true groupMessage: report: true friendMessage: report: true tempMessage: report: true eventMessage: report: true destinations: [] extraHeaders: {} heartbeat: enable: true delay: 1000 period: 15000 destinations: [] extraBody: {} extraHeaders: {}