connection.SetMaxIdleConns(100) connection.SetMaxOpenConns(5000) duration := 3 * 24 * time.Hour connection.SetConnMaxLifetime(duration)
connection.SetMaxIdleConns(100) connection.SetMaxOpenConns(5000) duration := 3 * 24 * time.Hour connection.SetConnMaxLifetime(duration)