You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setLowPriority should not increase process priority when already lower (in Windows) #6597
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Syncthing, with setLowPriority set to true, always sets its child process priority to Below normal, even if the parent priority is already lower than that.
To reproduce in Windows command line:
start /low syncthing.exe
Even though the parent process priority is Idle, the child process priority gets changed to Below normal.
On the other hand, with setLowPriority set to false, the child process priority remains Idle, following its parent priority.
I would argue that setLowPriority should not make Syncthing change its priority to a higher value than the one already defined on runtime.
Version Information
Syncthing Version: v1.4.2
OS Version: Windows 10 Enterprise 1607 LTSB
It would also be nice if there was an command-line option that could prevent this as a default so that the calling process could decide and not get overridden: #8087
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
users/autostart: Rework Startup folder configuration
users/autostart: Rework Startup folder configuration
Bill-Stewart commentedon Dec 29, 2021
It would also be nice if there was an command-line option that could prevent this as a default so that the calling process could decide and not get overridden: #8087
Bill-Stewart commentedon Jan 13, 2022
FWIW, the Syncthing Windows Setup package (https://github.com/Bill-Stewart/SyncthingWindowsSetup) automatically configures
<setLowPriority>tofalseat the end of installation (the service and script launchers specify the process priority).lib/osutil: Skip setLowPriority in Windows if already lower (fixes sy…
lib/osutil: Skip setLowPriority in Windows if already lower (fixes sy…
lib/osutil: Skip setLowPriority in Windows if already lower (fixes #6597
Merge branch 'main' into multicon
Merge branch 'main' into prometheus