Skip to content

Commit

Permalink
loosen azure storage semaphores (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianburckhardt authored Mar 18, 2024
1 parent d71a5a1 commit a74178b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ partial class BlobManager : ICheckpointManager, ILogCommitManager

public IPartitionErrorHandler PartitionErrorHandler { get; private set; }

internal static SemaphoreSlim AsynchronousStorageReadMaxConcurrency = new SemaphoreSlim(Math.Min(100, Environment.ProcessorCount * 10));
internal static SemaphoreSlim AsynchronousStorageWriteMaxConcurrency = new SemaphoreSlim(Math.Min(50, Environment.ProcessorCount * 7));
internal static SemaphoreSlim AsynchronousStorageReadMaxConcurrency = new SemaphoreSlim(Math.Min(100, Environment.ProcessorCount * 20));
internal static SemaphoreSlim AsynchronousStorageWriteMaxConcurrency = new SemaphoreSlim(Math.Min(50, Environment.ProcessorCount * 10));

internal volatile int LeaseUsers;

Expand Down

0 comments on commit a74178b

Please sign in to comment.