Skip to content

Commit

Permalink
Fix typo (#13311)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jan 13, 2025
1 parent 37a80f2 commit d61f688
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ydb/library/actors/interconnect/interconnect_tcp_session.h
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,10 @@ namespace NActors {
}
Total = UtilizedPart + WaitingCpuPart + IdlePart;
if (Total) {
Utilized = (Utilized + WaitingCpuPart) / Total;
Utilized = (UtilizedPart + WaitingCpuPart) / Total;
Starving = WaitingCpuPart / Total;
} else {
Utilized = Starving = 0;
}
if (newState) {
State = *newState;
Expand Down

0 comments on commit d61f688

Please sign in to comment.