Skip to content

Commit

Permalink
use default decay value from finagle
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Aug 14, 2020
1 parent 0b08aca commit 21aad62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcx/internal/balancer/p2c/p2c.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

const (
Name = "p2c_ewma"
decayTime = int64(time.Millisecond * 600)
decayTime = int64(time.Second * 10) // default value from finagle
forcePick = int64(time.Second)
initSuccess = 1000
throttleSuccess = initSuccess / 2
Expand Down

0 comments on commit 21aad62

Please sign in to comment.