Open yiyungent opened 2 years ago
排除 knt.Core 问题
本地 Visual Studio QQBotHub
等了会,目测一直稳在
84MB
了
经过长时间,Portainer
显示 qqbothub
逐渐稳定在 80+MB
, 奇怪 , Railway
怎么会这么高占用,
有时间再测试一下插件
过了2小时左右
确定是 PluginCore.AspNetCore.BackgroundServices.PluginTimeJobBackgroundService.DoWork(object state) 的问题
反复执行任务,然而 插件实例 目测 没有成功被 GC 回收
qqbothub:v0.5.3
得到修复
1. OneTree (PluginCore, 加载少量插件, 长时间运行, Portainer)
2. QQBotHub (PluginCore, 未加载插件,空新启动项目, Portainer)
3. QQBotHub (PluginCore, 加载大量插件,长时间运行, Railway)