Re: [Django] #32589: Document the need for calling close_old_connections in long-running management commands.

2021-03-25 Thread Django
#32589: Document the need for calling close_old_connections in long-running
management commands.
---+--
 Reporter:  GwynBleidD |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  3.1
 Severity:  Normal |   Resolution:  duplicate
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 I'm inclined to think this should be part of #14845, connections
 management in general being a little under-documented.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.22904f4aa754c90fe6f2bd688026e470%40djangoproject.com.


[Django] #32589: Document the need for calling close_old_connections in long-running management commands.

2021-03-24 Thread Django
#32589: Document the need for calling close_old_connections in long-running
management commands.
-+
   Reporter:  GwynBleidD |  Owner:  nobody
   Type:  Uncategorized  | Status:  new
  Component:  Documentation  |Version:  3.1
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 It is mentioned in
 [https://github.com/django/deps/blame/main/accepted/0009-async.rst#L429-L431
 one of the DEPs] that any long-running management command should
 periodically call `close_old_connections`  to get rid of any connections
 that can't be re-used any longer, but there is no mention about that
 anywhere in the Documentation.

 This should be probably documented somewhere next to the management
 commands or in advanced database usage examples.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.9b081545ef75ffd64b674fba203e2eb4%40djangoproject.com.