Skip to content

Commit

Permalink
reassign missing variables on windows stats init
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-ubi committed Aug 14, 2024
1 parent 0e7b590 commit 31c22c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rqd/rqd/rqmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ def __initMachineStats(self, pathCpuInfo=None):
hyperthreadingMultiplier = 1

if platform.system() == 'Windows':
self.__init_stats_from_windows()
logicalCoreCount, __numProcs, hyperthreadingMultiplier = self.__init_stats_from_windows()
__totalCores = logicalCoreCount * rqd.rqconstants.CORE_VALUE

# All other systems will just have one proc/core
if not __numProcs or not __totalCores:
Expand Down

0 comments on commit 31c22c3

Please sign in to comment.