Skip to content

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmclure-msft committed Sep 18, 2024
1 parent d33f88a commit 3542c73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libs/server/Objects/Hash/HashObjectImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ private void HashExpire(ref ObjectInput input, ref SpanByteAndMemory output)
}
else
{
Debug.Print($"HashExpire: old: {hashValue.Expiration} new: {expiryTime.Ticks}");
switch (expireOption)
{
case ExpireOption.NX: // Only set if not already set
Expand Down Expand Up @@ -563,13 +562,11 @@ private void HashExpire(ref ObjectInput input, ref SpanByteAndMemory output)
this.UpdateSize(key, hashValue.Value, false);
}
result = 2;
Debug.Print($"Deleted value");
}
else
{
hashValue.Expiration = expiryTime.Ticks; // Update the expiration time
hash[key] = hashValue;
Debug.Print($"Set expiration to {expiryTime.Ticks}");
}

}
Expand Down

0 comments on commit 3542c73

Please sign in to comment.