You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi
I am wondering if there is something about CONN_MAX_AGE in 1.6.1 and accessing objects from a script (as opposed to as part of an HTTP request).
I have set CONN_MAX_AGE to 60 (seconds) but I don't see the connection closing after that interval. In fact I am seeing the connection idle for more than 60 seconds (checking this in MySQL) and being reused by subsequent object accesses.
> Hi
>
> I am wondering if there is something about CONN_MAX_AGE in 1.6.1 and
> accessing objects from a script (as opposed to as part of an HTTP
> request).
>
The connection age check (and subsequent closing) is initiated only by a
signal being fired at the end of a request.
-- bigjust
bigjust
unread,
Jan 30, 2014, 12:43:22 AM1/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> Hi
>
> I am wondering if there is something about CONN_MAX_AGE in 1.6.1 and
> accessing objects from a script (as opposed to as part of an HTTP
> request).
>