diff --git a/Framework/Core/PluginTools.cs b/Framework/Core/PluginTools.cs index e6eb18a6..94b2dd00 100644 --- a/Framework/Core/PluginTools.cs +++ b/Framework/Core/PluginTools.cs @@ -7,7 +7,6 @@ namespace Core { public interface IPluginTools : IWorkflowTool, ILogTool, IHttpFactory, IFileTool { - IWebCallTimeSet WebCallTimeSet { get; } IK8sTimeSet K8STimeSet { get; } /// diff --git a/Framework/WebUtils/HttpFactory.cs b/Framework/WebUtils/HttpFactory.cs index 41a0615e..ac931078 100644 --- a/Framework/WebUtils/HttpFactory.cs +++ b/Framework/WebUtils/HttpFactory.cs @@ -8,7 +8,7 @@ namespace WebUtils IHttp CreateHttp(string id, Action onClientCreated, IWebCallTimeSet timeSet); IHttp CreateHttp(string id); - IWebCallTimeSet TimeSet { get; } + IWebCallTimeSet WebCallTimeSet { get; } } public class HttpFactory : IHttpFactory @@ -39,7 +39,7 @@ namespace WebUtils factoryOnClientCreated = onClientCreated; } - public IWebCallTimeSet TimeSet => timeSet; + public IWebCallTimeSet WebCallTimeSet => timeSet; public IHttp CreateHttp(string id, Action onClientCreated) { diff --git a/ProjectPlugins/CodexClient/CodexAccess.cs b/ProjectPlugins/CodexClient/CodexAccess.cs index 8832955f..3dc1a213 100644 --- a/ProjectPlugins/CodexClient/CodexAccess.cs +++ b/ProjectPlugins/CodexClient/CodexAccess.cs @@ -215,7 +215,7 @@ namespace CodexClient private T OnCodexNoRetry(Func> action) { - var timeSet = httpFactory.TimeSet; + var timeSet = httpFactory.WebCallTimeSet; var noRetry = new Retry(nameof(OnCodexNoRetry), maxTimeout: TimeSpan.FromSeconds(1.0), sleepAfterFail: TimeSpan.FromSeconds(2.0),