ing
This commit is contained in:
parent
1af1662ae2
commit
f83dbd31f7
8
pool.go
8
pool.go
|
@ -3,8 +3,8 @@ package config
|
|||
import "time"
|
||||
|
||||
type Pool struct {
|
||||
MaxIdle int `json:"maxIdle" yaml:"maxIdle" toml:"maxIdle"`
|
||||
IdleTimeout time.Duration `json:"idleTimeout" yaml:"idleTimeout" toml:"idleTimeout"`
|
||||
MaxCapacity int `json:"maxCapacity" yaml:"maxCapacity" toml:"maxCapacity"`
|
||||
IncreaseCapacity int `json:"increaseCapacity" yaml:"increaseCapacity" toml:"increaseCapacity"`
|
||||
MaxCapacity int `json:"maxCapacity" yaml:"maxCapacity" toml:"maxCapacity"`
|
||||
MaxIdle int `json:"maxIdle" yaml:"maxIdle" toml:"maxIdle"`
|
||||
IdleTimeout time.Duration `json:"idleTimeout" yaml:"idleTimeout" toml:"idleTimeout"`
|
||||
Wait bool `json:"wait" yaml:"wait" toml:"wait"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user