Skip to content

Commit 4a7d20c

Browse files
authored
Merge pull request #181 from hchen2020/master
Remove LoadAgent cache.
2 parents 0799b06 + 9350b55 commit 4a7d20c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.LoadAgent.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ namespace BotSharp.Core.Agents.Services;
55

66
public partial class AgentService
77
{
8-
#if !DEBUG
9-
[MemoryCache(10 * 60)]
10-
#endif
118
public async Task<Agent> LoadAgent(string id)
129
{
1310
var hooks = _services.GetServices<IAgentHook>();

0 commit comments

Comments
 (0)