scarletlock
scarletlock copied to clipboard
Replace DateTime.Now with DateTime.UtcNow
The DistributedLockManager
type uses DateTime.Now
property to calculate the lock validity time and lock expiration time. During the daylight saving time this may result to incorrect behavior due to datetime shifts (+1 hour, -1 hour, etc).