mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-02 19:59:31 -05:00
Feature: Allow JEA-Session to update IfW process priority (#776)
* Improves JEA-Sessions by allowing the daemon to update the IfW process priority * Adds changelog
This commit is contained in:
parent
1c993bae1d
commit
2668e35436
2 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
|
||||
* [#766](https://github.com/Icinga/icinga-powershell-framework/issues/766) Adds argument `-IntervalInSeconds` for `Enable-IcingaServiceRecovery` to allow setting a custom time interval for the service to restart, while setting the default to 120 seconds (2 minutes)
|
||||
* [#772](https://github.com/Icinga/icinga-powershell-framework/pull/772) Adds new Metric over Time handling
|
||||
* [#776](https://github.com/Icinga/icinga-powershell-framework/pull/776) Improves JEA-Sessions by allowing the daemon to update the IfW process priority, as with v1.13.0 we want to ensure that we always run as "Below Normal"
|
||||
|
||||
## 1.13.0 Beta-2 (2024-09-19)
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,9 @@ function Start-IcingaForWindowsDaemon()
|
|||
|
||||
Write-IcingaFileSecure -File ($args[0]) -Value $PID;
|
||||
|
||||
# Make sure a new JEA session is always updated with the correct process priority
|
||||
Start-IcingaWindowsScheduledTaskProcessPriority;
|
||||
|
||||
$Global:Icinga.Protected.JEAContext = $TRUE;
|
||||
$Global:Icinga.Protected.RunAsDaemon = $TRUE;
|
||||
# Todo: Add config for active background tasks. Set it to 20 for the moment
|
||||
|
|
|
|||
Loading…
Reference in a new issue