We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to configure a different MaxConnectionCount for the sources and replica DBs used by the resolver?
I looked at the offical documentation, but it looks like it sets a global MaxConnection for all connections
DB.Use( dbresolver.Register(dbresolver.Config{ /* xxx */ }). SetConnMaxIdleTime(time.Hour). SetConnMaxLifetime(24 * time.Hour). SetMaxIdleConns(100). SetMaxOpenConns(200) )
The text was updated successfully, but these errors were encountered:
jinzhu
No branches or pull requests
Your Question
Is it possible to configure a different MaxConnectionCount for the sources and replica DBs used by the resolver?
The document you expected this should be explained
I looked at the offical documentation, but it looks like it sets a global MaxConnection for all connections
The text was updated successfully, but these errors were encountered: