Skip to content

Commit 722b8ba

Browse files
authored
Merge pull request #496 from Icinga:fix/increase_rest_api_default_timeout
Fix: Improves REST-Api default timeout Improves REST-Api default timeout for internal plugin execution calls from 30s to 120s
2 parents bff3537 + 046074d commit 722b8ba

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2424

2525
* [#469](https://github.com/Icinga/icinga-powershell-framework/pull/469) Improves plugin doc generator to allow multi-lines in code examples and updates plugin overview as table, adding a short description on what the plugin is for
2626
* [#495](https://github.com/Icinga/icinga-powershell-framework/pull/495) Adds feature to check the sign status for the local Icinga Agent certificate and notifying the user, in case the certificate is not yet signed by the Icinga CA
27+
* [#496](https://github.com/Icinga/icinga-powershell-framework/pull/496) Improves REST-Api default timeout for internal plugin execution calls from 30s to 120s
2728

2829
## 1.8.0 (2022-02-08)
2930

lib/core/framework/Invoke-IcingaInternalServiceCall.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function Invoke-IcingaInternalServiceCall()
3131
}
3232

3333
$RestApiPort = 5668;
34-
[int]$Timeout = 30;
34+
[int]$Timeout = 120;
3535
$Daemon = $BackgroundDaemons['Start-IcingaWindowsRESTApi'];
3636

3737
# Fetch our deamon configuration

lib/daemons/RestAPI/daemon/Start-IcingaWindowsRESTApi.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Start-IcingaWindowsRESTApi()
5151
[string]$CertThumbprint = $null,
5252
[bool]$RequireAuth = $FALSE,
5353
[int]$ConcurrentThreads = 5,
54-
[int]$Timeout = 30
54+
[int]$Timeout = 120
5555
);
5656

5757
New-IcingaForWindowsRESTEnvironment -ThreadCount $ConcurrentThreads;

0 commit comments

Comments
 (0)