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.

        
https://docs.djangoproject.com/en/1.6/ref/databases/#persistent-connections
        
https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-CONN_MAX_AGE

Am I missing something?

Cheers

François

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to