Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmclure-msft committed Sep 18, 2024
1 parent 3542c73 commit 47c2f95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/server/Objects/Hash/HashObjectImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ private void HashExpire(ref ObjectInput input, ref SpanByteAndMemory output)
return;
}

var expiryTime = hop switch {
var expiryTime = hop switch
{
HashOperation.HEXPIRE => DateTimeOffset.UtcNow.AddSeconds(expirationValue),
HashOperation.HEXPIREAT => DateTimeOffset.FromUnixTimeSeconds(expirationValue),
HashOperation.HPEXPIRE => DateTimeOffset.UtcNow.AddMilliseconds(expirationValue),
Expand Down

0 comments on commit 47c2f95

Please sign in to comment.