Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
no timespan on gpu status
Browse files Browse the repository at this point in the history
  • Loading branch information
JEMeyer committed Jan 14, 2025
1 parent 75242d7 commit f83872a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/DataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private static string GenerateCacheKey(OutputType outputType, string? modelName)
public void SetGpuStatus(string gpuId, GpuStatus status)
{
string serializedData = JsonSerializer.Serialize(status);
_cacheService.SetCachedGpuStatus(gpuId, serializedData, TimeSpan.FromMinutes(10));
_cacheService.SetCachedGpuStatus(gpuId, serializedData);
}

/// <summary>
Expand Down

0 comments on commit f83872a

Please sign in to comment.