Update CrossProcessFileBasedSemaphore.cs

This commit is contained in:
JustArchi
2020-05-21 23:09:53 +02:00
parent a47b85ff85
commit 42b59cd066

View File

@@ -29,7 +29,7 @@ using JetBrains.Annotations;
namespace ArchiSteamFarm.Helpers {
internal sealed class CrossProcessFileBasedSemaphore : ICrossProcessSemaphore {
private const int SpinLockDelay = 1000; // In milliseconds
private const ushort SpinLockDelay = 1000; // In milliseconds
private readonly string FilePath;
private readonly SemaphoreSlim LocalSemaphore = new SemaphoreSlim(1, 1);