Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MiniCron.Tests/MiniCronTests.InMemoryLockProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public async Task InMemoryJobLockProvider_ConcurrentAcquireAndRelease_ThreadSafe
// Test thread safety when multiple threads try to acquire and release locks
var provider = new InMemoryJobLockProvider();
var jobId = Guid.NewGuid();
var ttl = TimeSpan.FromMilliseconds(50);
var ttl = TimeSpan.FromSeconds(10); // Long TTL to ensure lock doesn't expire while held
var successCount = 0;
var concurrentHoldCount = 0;
var maxConcurrentHoldCount = 0;
Expand Down