Remove LoadAgent cache.

This commit is contained in:
hchen 2023-10-19 15:57:56 -05:00
parent 581678f1fe
commit 5e65d833ea

View file

@ -5,9 +5,6 @@ namespace BotSharp.Core.Agents.Services;
public partial class AgentService
{
#if !DEBUG
[MemoryCache(10 * 60)]
#endif
public async Task<Agent> LoadAgent(string id)
{
var hooks = _services.GetServices<IAgentHook>();