#16811: Reset connection.queries only when DEBUG = True
-------------------------------------+-------------------------------------
     Reporter:  aaugustin            |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                Component:  Core
    Milestone:                       |  (Other)
      Version:  SVN                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
    Has patch:  0                    |  Unreviewed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
 connection.queries is populated only when DEBUG = True, so it needs
 flushing only when DEBUG = True too.

 This is a trivial performance optimization.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16811>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to