Hi,
On Monday 09 December 2013 17:52:20 James Pic wrote:
> Hi all,
>
> I found that there was a hard coded 2 seconds limit in
> StoppableWSGIServer.shutdown:
> https://github.com/django/django/blob/1.6/django/test/testcases.py#L999
>
> This causes problems on slow boxes ie. travis:
> https://travis-ci.org/yourlabs/django-autocomplete-light/jobs/15177543
>
> Can we enable configurable wait time in shutdown() ?
>
This would be a new feature, and I think it is a little late for one of those
for 1.6. In 1.7, the whole StoppableWSGIServer class is gone -- with Python
2.7 and above, the stdlib's WSGIServer provides the needed functionality. You
might want to investigate how (if) timeouts are set for Python>=2.7's
WSGIServer -- at a glance, I didn't see any such thing in the Django code.
HTH,
Shai.
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/5507712.xOXp1EtNEm%40deblack.
For more options, visit https://groups.google.com/groups/opt_out.