scarletlock icon indicating copy to clipboard operation
scarletlock copied to clipboard

Replace DateTime.Now with DateTime.UtcNow

Open odinserj opened this issue 8 years ago • 0 comments

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).

odinserj avatar Apr 26 '16 09:04 odinserj