merged from gramsrv upstream
This commit is contained in:
parent
79c64ee916
commit
21a0856587
651 changed files with 54774 additions and 4590 deletions
|
|
@ -9,7 +9,11 @@ import (
|
|||
"github.com/iamxvbaba/td/tlprofile"
|
||||
)
|
||||
|
||||
const rpcResultFlightDefaultMaxPending = 8192
|
||||
// A 10,000-session startup can transiently retain more than one scheduled RPC
|
||||
// per connection while downstream reads drain. Request materialization remains
|
||||
// bounded independently by RPCGlobalMaxBytes, so this count limit provides
|
||||
// queue/owner headroom without turning the scheduler into an unbounded queue.
|
||||
const rpcResultFlightDefaultMaxPending = 32768
|
||||
|
||||
var (
|
||||
// ErrRPCResultFlightCapacity is returned before installing a new owner when
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue