Skip to content

Commit

Permalink
feat: change client default load limit (#1104)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Feb 28, 2022
1 parent e78232d commit 892f9a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions manager/database/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ import (
)

const (
defaultCDNLoadLimit = 300
defaultClientLoadLimit = 100
// Default number of cdn load limit
defaultCDNLoadLimit = 300

// Default number of client load limit
defaultClientLoadLimit = 50
)

func newMyqsl(cfg *config.MysqlConfig) (*gorm.DB, error) {
Expand Down

0 comments on commit 892f9a3

Please sign in to comment.