Re: Enable longer wait in StoppableWSGIServer.shutdown / hardcoded parameter

2013-12-10 Thread James Pic
Russ I think it would work if the timeout was just increased. On Tue, Dec 10, 2013 at 12:36 AM, Shai Berger wrote: > > 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 s

Re: Enable longer wait in StoppableWSGIServer.shutdown / hardcoded parameter

2013-12-09 Thread Shai Berger
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://tra

Re: Enable longer wait in StoppableWSGIServer.shutdown / hardcoded parameter

2013-12-09 Thread Russell Keith-Magee
On Tue, Dec 10, 2013 at 12:52 AM, 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.

Enable longer wait in StoppableWSGIServer.shutdown / hardcoded parameter

2013-12-09 Thread James Pic
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