reduce limit on rpc

pull/3971/head
Rongjian Lan 3 years ago
parent 1ad108dc68
commit c9462c9a0f
  1. 2
      rpc/pool.go

@ -41,7 +41,7 @@ func NewPublicPoolAPI(hmy *hmy.Harmony, version Version) rpc.API {
return rpc.API{
Namespace: version.Namespace(),
Version: APIVersion,
Service: &PublicPoolService{hmy, version, rate.NewLimiter(5, 10)},
Service: &PublicPoolService{hmy, version, rate.NewLimiter(2, 5)},
Public: true,
}
}

Loading…
Cancel
Save