Skip to content

Commit b94993a

Browse files
bmehta001Copilot
andcommitted
Restore dropped TODO comment and blank line in Catalog.cs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4df9814 commit b94993a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/cs/src/Catalog.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ private Catalog(IModelLoadManager modelLoadManager, ICoreInterop coreInterop, IL
3131
_modelLoadManager = modelLoadManager;
3232
_coreInterop = coreInterop;
3333
_logger = logger;
34+
3435
_lastFetch = DateTime.MinValue;
3536

3637
CoreInteropRequest? input = null;
@@ -191,6 +192,7 @@ private async Task<IModel> GetLatestVersionImplAsync(IModel modelOrModelVariant,
191192

192193
private async Task UpdateModels(CancellationToken? ct)
193194
{
195+
// TODO: make this configurable
194196
if (DateTime.Now - _lastFetch < TimeSpan.FromHours(6))
195197
{
196198
return;

0 commit comments

Comments
 (0)