Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Mysql#idle? && Mysql#busy? as Threaded connection pool help…
…ers for Mysql#c_async_query
- Loading branch information
1 parent
1af8538
commit 48a61dd
Showing
1 changed file
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48a61dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does busy mean something different than async_in_progress? I guess it means “async_in_progress or async might become in progress right soon”?
48a61dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn’t is kind of scary to allow them to set busy=
48a61dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Roger,
Deprecated – initially just played with this for mysql_adapter – the same information can be made available by piggy backing off async_in_progress and exposing a public method.
Please do turn a blind eye, if possible :-)
- Lourens