On May 16, 2013, at 10:17 16, Brian McKelvey wrote:

> This would suggest that each query from Rivendell opens a new TCP connection 
> to MySQL, which would be bizarre behavior. Is that really how it works?

No, it doesn't work that way.  It's one connection per module instance, which 
is then used for all queries for the life of the process, unless a SQL error or 
other DB fault occurs.  In the event of an error, the connection is torn down 
and a new one established.  There is never more than one per process at a time 
(with the exception of a couple of oddball cases in the importers where there 
is copying going on between two completely different databases).

Cheers!


|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |               Chief Developer               |
|                           |               Paravel Systems               |
|-------------------------------------------------------------------------|
|          A room without books is like a body without a soul.            |
|                                         -- Cicero                       |
|-------------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to