Disable load agent cache
This commit is contained in:
parent
e017c21dd3
commit
532c8da6e8
|
|
@ -7,7 +7,7 @@ public partial class AgentService
|
||||||
{
|
{
|
||||||
public static ConcurrentDictionary<string, Dictionary<string, string>> AgentParameterTypes = new();
|
public static ConcurrentDictionary<string, Dictionary<string, string>> AgentParameterTypes = new();
|
||||||
|
|
||||||
[SharpCache(10, perInstanceCache: true)]
|
// [SharpCache(10, perInstanceCache: true)]
|
||||||
public async Task<Agent> LoadAgent(string id, bool loadUtility = true)
|
public async Task<Agent> LoadAgent(string id, bool loadUtility = true)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())
|
if (string.IsNullOrEmpty(id) || id == Guid.Empty.ToString())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue