Skip to content

Commit

Permalink
Merge pull request #2101 from solliancenet/cj-polling-interval
Browse files Browse the repository at this point in the history
Transform polling interval to double for PollingHttpClient
  • Loading branch information
codingbandit authored Dec 21, 2024
2 parents 37d0d5c + 270b98f commit 1bb3c3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/dotnet/Common/Middleware/CallContextMiddleware.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using FoundationaLLM.Common.Authentication;
using FoundationaLLM.Common.Constants.Instance;
using FoundationaLLM.Common.Constants.ResourceProviders;
using FoundationaLLM.Common.Interfaces;
using FoundationaLLM.Common.Models.Authentication;
using FoundationaLLM.Common.Models.Configuration.Instance;
using FoundationaLLM.Common.Models.ResourceProviders.Agent.AgentAccessTokens;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using System.Text.Json;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class LangChainServiceSettings
/// <summary>
/// The polling interval in seconds to check the status of the LangChain service.
/// </summary>
public int PollingIntervalSeconds { get; set; } = 10;
public double PollingIntervalSeconds { get; set; } = 10;

}
}

0 comments on commit 1bb3c3f

Please sign in to comment.