12 lines
323 B
Go
12 lines
323 B
Go
package grpc_pool
|
|
|
|
const (
|
|
DefaultMaxCapacity = 1
|
|
DefaultMaxIdle = 1
|
|
// DefaultWriteTimeout is default value of Write Timeout
|
|
DefaultIdleTimeout = 0
|
|
// If Wait is true and the pool is at the MaxActive limit, then Get() waits
|
|
// for a connection to be returned to the pool before returning.
|
|
DefaultWait = false
|
|
)
|