#3357: Make Django's server optionally multithreaded
-------------------------------------+-------------------------------------
     Reporter:  treborhudson@…       |                    Owner:  adrian
         Type:  Uncategorized        |                   Status:  closed
    Component:  django-admin.py      |                  Version:  SVN
  runserver                          |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:  Design
     Keywords:  post10               |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by wesc):

 * ui_ux:   => 0
 * easy:   => 0


Comment:

 You can also patch this by inserting this code right before the
 {{{__main__}}} block in manage.py:

 {{{
 import SocketServer
 import django.core.servers.basehttp
 django.core.servers.basehttp.WSGIServer = \
     type('WSGIServer',
          (SocketServer.ThreadingMixIn,
           django.core.servers.basehttp.WSGIServer,
           object),
          {})
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/3357#comment:28>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to