Skip to content

Commit e1a01d8

Browse files
committed
OrcCommand: WolfLauncher: fix cpu weight configuration
1 parent d76d5a6 commit e1a01d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OrcCommand/Command/WolfLauncher/WolfExecution_Config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ HRESULT WolfExecution::SetRestrictionsFromConfig(const ConfigItem& item)
686686
else if (item[WOLFLAUNCHER_CPU_WEIGHT])
687687
{
688688
DWORD weight = 0;
689-
if (FAILED(hr = GetIntegerFromArg(item[WOLFLAUNCHER_CPU_RATE].c_str(), weight)))
689+
if (FAILED(hr = GetIntegerFromArg(item[WOLFLAUNCHER_CPU_WEIGHT].c_str(), weight)))
690690
return hr;
691691

692692
if (!m_Restrictions.CpuRateControl)

0 commit comments

Comments
 (0)