Skip to content

Commit

Permalink
HPCC-30606 Fix following review
Browse files Browse the repository at this point in the history
Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Nov 3, 2023
1 parent 20ea0dc commit 20ffe7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/wuanalysis/anarule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ class IoSkewRule : public AActivityRule
IWuEdge *wuEdge = nullptr;
if ((stat==StTimeDiskWriteIO) || (actkind==TAKspillwrite))
{
if (activity.getStatRaw(StSizeDiskWrite)>options.queryOption(watOptSkewThreshold))
if (activity.getStatRaw(StSizeDiskWrite, StSkewMax)>options.queryOption(watOptSkewThreshold))
sizeSkew = true;
IWuEdge *wuEdge = activity.queryInput(0);
}
else if ((stat == StTimeDiskReadIO) || (actkind==TAKspillread))
{
if (activity.getStatRaw(StSizeDiskRead)>options.queryOption(watOptSkewThreshold))
if (activity.getStatRaw(StSizeDiskRead, StSkewMax)>options.queryOption(watOptSkewThreshold))
sizeSkew = true;
IWuEdge *wuEdge = activity.queryOutput(0);
}
Expand Down

0 comments on commit 20ffe7e

Please sign in to comment.