Skip to content

Commit

Permalink
OrcCommand: WolfLauncher: fix cpu weight configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Jun 4, 2024
1 parent d76d5a6 commit e1a01d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ HRESULT WolfExecution::SetRestrictionsFromConfig(const ConfigItem& item)
else if (item[WOLFLAUNCHER_CPU_WEIGHT])
{
DWORD weight = 0;
if (FAILED(hr = GetIntegerFromArg(item[WOLFLAUNCHER_CPU_RATE].c_str(), weight)))
if (FAILED(hr = GetIntegerFromArg(item[WOLFLAUNCHER_CPU_WEIGHT].c_str(), weight)))
return hr;

if (!m_Restrictions.CpuRateControl)
Expand Down

0 comments on commit e1a01d8

Please sign in to comment.