#36964: Documentation incorrectly states that persistent connections don't work
with runserver
-------------------------------------+-------------------------------------
     Reporter:  Adam Sołtysik        |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  5.2
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Shubh Rai):

 Sequential requests reuse the same thread, which results in single DB
 connection visible . The connection is dropped only on autoreload.

 It seems the documentation warning is for concurrent requests, where
 multiple threads may create separate connections, rather than sequential
 development testing. I believe that the documentation is not wrong but
 little bit clarification can be given.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36964#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019cb2eac7b3-1aad226e-4116-4136-a970-c2df75c6edae-000000%40eu-central-1.amazonses.com.

Reply via email to