feat: implement migration tracking and history management for PostgreSQL
This commit is contained in:
@@ -115,7 +115,7 @@ public sealed class LimitedConcurrencyLibraryScheduler : ILimitedConcurrencyLibr
|
||||
if (fanoutConcurrency <= 0)
|
||||
{
|
||||
// in case the user did not set a limit manually, we can assume he has 3 or more cores as already checked by ShouldForceSequentialOperation.
|
||||
return Environment.ProcessorCount - 3;
|
||||
return Math.Max(2, Environment.ProcessorCount / 2);
|
||||
}
|
||||
|
||||
return fanoutConcurrency;
|
||||
|
||||
Reference in New Issue
Block a user