Skip to content

Commit

Permalink
Reduce chunk size, but increase worker count
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Sep 26, 2024
1 parent 3c75f94 commit 95851f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "2.0",
"extensions": {
"durableTask": {
"maxConcurrentActivityFunctions": 4,
"maxConcurrentActivityFunctions": 7,
"hubName": "%OrchestrationsTaskHubName%"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Energinet.DataHub.SettlementReport.Infrastructure.SettlementReports_v2

public sealed class MeteringPointTimeSeriesFileGenerator : ISettlementReportFileGenerator
{
private const int ChunkSize = 650_000; // About 31 rows per day, 251.875 rows in total.
private const int ChunkSize = 325_000; // About 31 rows per day, 251.875 rows in total.

private readonly ISettlementReportMeteringPointTimeSeriesResultRepository _dataSource;
private readonly Resolution _resolution;
Expand Down

0 comments on commit 95851f1

Please sign in to comment.