Skip to content

Commit be27ed6

Browse files
author
Nuno Silva
authored
R11PIT-425 - Adjust maxRequest constants to be used during tuning when values are not supplied (#104)
* R11PIT-425 - Adjust maxRequest constants to be used during tuning when values are not supplied * R11PIT-425 - Fix .Net 4.7.2 download link
1 parent 35b0b14 commit be27ed6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Outsystems.SetupTools/Lib/Constants.ps1

+5-5
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,19 @@ $OSDotNetReqForMajor = @{
9696
Version = '4.6.1'
9797
Value = '394254'
9898
ToInstallVersion = '4.7.2'
99-
ToInstallDownloadURL = 'https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe'
99+
ToInstallDownloadURL = 'https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/ndp472-kb4054530-x86-x64-allos-enu.exe'
100100
}
101101
'11' = @{
102102
Version = '4.7.2'
103103
Value = '461808'
104104
ToInstallVersion = '4.7.2'
105-
ToInstallDownloadURL = 'https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe'
105+
ToInstallDownloadURL = 'https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/ndp472-kb4054530-x86-x64-allos-enu.exe'
106106
}
107107
'12' = @{
108108
Version = '4.7.2'
109109
Value = '461808'
110110
ToInstallVersion = '4.7.2'
111-
ToInstallDownloadURL = 'https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe'
111+
ToInstallDownloadURL = 'https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/ndp472-kb4054530-x86-x64-allos-enu.exe'
112112
}
113113
}
114114

@@ -177,11 +177,11 @@ $OSIISConfig = @(
177177

178178
# Performance Tuning
179179
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
180-
$OSPerfTuningMaxRequestLength = 131072
180+
$OSPerfTuningMaxRequestLength = 262144
181181
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
182182
[TimeSpan]$OSPerfTuningExecutionTimeout = '00:01:50'
183183
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
184-
$OSPerfTuningMaxAllowedContentLength = 134217728
184+
$OSPerfTuningMaxAllowedContentLength = 268435456
185185
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
186186
$OSPerfTuningMaxConnections = 4294967295
187187

test/unit/Lib.Constants.Tests.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Describe 'Lib Constants Tests' {
77

88
$MajorVersion = '12'
99
$SavePath = "$env:TEMP\dotnet12.exe"
10-
$FileHash = 'C908F0A5BEA4BE282E35ACBA307D0061B71B8B66CA9894943D3CBB53CAD019BC'
10+
$FileHash = '5CB624B97F9FD6D3895644C52231C9471CD88AACB57D6E198D3024A1839139F6'
1111

1212
It 'Should have the right "Version"' { $script:OSDotNetReqForMajor[$MajorVersion]['Version'] | Should Be "4.7.2" }
1313
It 'Should have the right "Value"' { $script:OSDotNetReqForMajor[$MajorVersion]['Value'] | Should Be "461808" }
@@ -22,7 +22,7 @@ Describe 'Lib Constants Tests' {
2222

2323
$MajorVersion = '11'
2424
$SavePath = "$env:TEMP\dotnet11.exe"
25-
$FileHash = 'C908F0A5BEA4BE282E35ACBA307D0061B71B8B66CA9894943D3CBB53CAD019BC'
25+
$FileHash = '5CB624B97F9FD6D3895644C52231C9471CD88AACB57D6E198D3024A1839139F6'
2626

2727
It 'Should have the right "Version"' { $script:OSDotNetReqForMajor[$MajorVersion]['Version'] | Should Be "4.7.2" }
2828
It 'Should have the right "Value"' { $script:OSDotNetReqForMajor[$MajorVersion]['Value'] | Should Be "461808" }
@@ -37,7 +37,7 @@ Describe 'Lib Constants Tests' {
3737

3838
$MajorVersion = '10'
3939
$SavePath = "$env:TEMP\dotnet10.exe"
40-
$FileHash = 'C908F0A5BEA4BE282E35ACBA307D0061B71B8B66CA9894943D3CBB53CAD019BC'
40+
$FileHash = '5CB624B97F9FD6D3895644C52231C9471CD88AACB57D6E198D3024A1839139F6'
4141

4242
It 'Should have the right "Version"' { $script:OSDotNetReqForMajor[$MajorVersion]['Version'] | Should Be "4.6.1" }
4343
It 'Should have the right "Value"' { $script:OSDotNetReqForMajor[$MajorVersion]['Value'] | Should Be "394254" }

0 commit comments

Comments
 (0)