Skip to content

Commit f1a3a0a

Browse files
committed
fix lil bug
1 parent 978411f commit f1a3a0a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.Console/Features/CommandProcessorHostingService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ public CommandProcessorHostingService(IOptions<CommandProcessorHostingServiceOpt
1919
_lifetime = lifetime;
2020
_commandAssemblies = commandAssemblies.Length > 0 ? commandAssemblies : new[] { Assembly.GetExecutingAssembly() };
2121
}
22+
public CommandProcessorHostingService(IOptions<CommandProcessorHostingServiceOptions> options, IServiceScopeFactory serviceProviderFactory, IHostApplicationLifetime lifetime) : this(options, serviceProviderFactory, lifetime, [])
23+
{
2224

25+
}
2326
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
2427
{
2528
var types = from type in _commandAssemblies.SelectMany(a => a.GetTypes())

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.Console/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"Dataverse": {
88
"MaxThreadCount": 100,
9-
"MaxDegreeOfParallism": 1,
9+
"MaxDegreeOfParallism": 5,
1010
"BatchSize": 20
1111
}
1212
}

0 commit comments

Comments
 (0)