-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi!
I have following behavior which i dont know how to handle:
the code is auto conn = co_await pool_.async_get_connection(boost::asio::cancel_after(std::chrono::seconds(5)));
Once i stop mysql server and try to run it it throws: "MySQL error: asio.misc:2 End of file"
I start mysql once again and try to connect, now it says "MySQL error: mysql.client:16 Getting a connection from a connection_pool was cancelled before a connection was available"
But mysql is running.
And only on third time it connects.
If it works as intended how should i handle it ?
Metadata
Metadata
Assignees
Labels
No labels