#9790: 404 message is displayed if a view takes longer than 30 seconds to finish
-------------------------------------+--------------------------------------
Reporter: erikcw | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: SVN
Resolution: invalid | Keywords: timeout, 404
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by mtredinnick):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Django isn't doing this. You can confirm that, for example, by putting an
infinite loop into a view and viewing it through the development server.
Django passes control to a view and waits until the view returns and then
sends the response back to the caller, all within a single thread.
If the redirection is happening on the server side (as opposed to your
browser simply timing out), then it's a webserver configuration thing and
changing it will depend on the server you're using. You might like to post
some details of your configuration on the django-users list to see if
somebody can spot the change that needs to be made. But there's nothing in
Django that monitors the request time and changes the response if things
are taking too long.
--
Ticket URL: <http://code.djangoproject.com/ticket/9790#comment:1>
Django <http://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
-~----------~----~----~----~------~----~------~--~---