Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sagor999 committed Oct 24, 2022
1 parent 93f4e7f commit 3e4f000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
ProcessDefault ProcessType = "default"

// Repeat applying until this number of processes is reached
NumberOfProcessesToStopApllying = 5
NumberOfProcessesToStopApplying = 5
)

type ProcessPriorityV2 struct {
Expand Down Expand Up @@ -112,7 +112,7 @@ func (c *ProcessPriorityV2) Apply(ctx context.Context, opts *PluginOptions) erro
}
}

if countRunningProcess >= NumberOfProcessesToStopApllying {
if countRunningProcess >= NumberOfProcessesToStopApplying {
return nil
}
}
Expand Down

0 comments on commit 3e4f000

Please sign in to comment.