As far as I know, the MySQL timeout time is configurable, and the default
is 8 hours.

Alex


On Mon, Feb 18, 2013 at 2:30 PM, Karen Tracey <kmtra...@gmail.com> wrote:

> Just a couple of random quick thoughts:
>
> Will persistent connections be able to ensure that "bad connections" (e.g.
> those in state "current transaction is aborted, commands ignored until end
> of transaction block") don't leak from one request to another?
>
> MySQL, at least, will close a connection from the server side if it is
> idle for too long (no idea if that is configurable, I've never had reason
> to investigate...have just noticed the behavior). In the pull request it
> looks like we only check for the need to close at the end of a request
> cycle? For a very low activity site it seems those two behaviors could
> interact badly, with the request cycle finishing code deciding to keep the
> connection around since it's not too old....long delay until next request
> while MySQL server closes what it sees as an idle connection...next request
> tries to use a connection that the server has closed?
>
> Karen
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-developers?hl=en
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to