Remove LoadAgent cache.
This commit is contained in:
parent
581678f1fe
commit
5e65d833ea
|
|
@ -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>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue