Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NomanShoaib committed Aug 2, 2023
1 parent 4e0e2a5 commit 7a8646b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OptimizelySDK/Config/PollingProjectConfigManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public PollingProjectConfigManager(TimeSpan period, TimeSpan blockingTimeout,
Logger = logger;
ErrorHandler = errorHandler;
BlockingTimeout = blockingTimeout;
if (period.Seconds < 30)
if (period.TotalSeconds < 30)
{
Logger?.Log(LogLevel.WARN, "Polling intervals below 30 seconds are not recommended.");
}
Expand Down

0 comments on commit 7a8646b

Please sign in to comment.