You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your issue may already be reported! Please search on the Actix Web issue tracker before creating one.
Expected Behavior
The normal number of connections that should be maintained to mysql from any network
Current Behavior
Using the public IP from the mysql host to connect to this mysql, there are 40 connections, but from other networks, the number of connections will increase sharply.
I started the web server. For requests, I want to connect to mysql through actix-web and process the requests. If this isn't best practice, what should it be?
Your Environment
Rust Version (I.e, output of rustc -V):rustc 1.74.1 (a28077b28 2023-12-04)
Actix Web Version:4.5.1
mysql: 24.0.0
The text was updated successfully, but these errors were encountered:
I have tested it. In the environment where the error occurred, I set up mysql. When the database and program are running on the same host, there will be no abnormal number of connections.
Your issue may already be reported! Please search on the Actix Web issue tracker before creating one.
Expected Behavior
The normal number of connections that should be maintained to mysql from any network
Current Behavior
Using the public IP from the mysql host to connect to this mysql, there are 40 connections, but from other networks, the number of connections will increase sharply.
Possible Solution
Is it related to the mysql library? I am using https://docs.rs/mysql/latest/mysql/
Steps to Reproduce (for bugs)
Context
I started the web server. For requests, I want to connect to mysql through actix-web and process the requests. If this isn't best practice, what should it be?
Your Environment
rustc -V
):rustc 1.74.1 (a28077b28 2023-12-04)The text was updated successfully, but these errors were encountered: