Skip to content

Commit

Permalink
fix cpu (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 authored Dec 12, 2023
1 parent 5a2f843 commit 5651166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stats/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (m *Monitor) canAcceptRequest(req *rpc.StartEgressRequest) bool {
available = total
} else {
// if already running requests, cap usage at 90%
available -= 0.9 * total
available -= 0.1 * total
}

switch req.Request.(type) {
Expand Down

0 comments on commit 5651166

Please sign in to comment.