unexpected multi-threaded dev server!
|Reported by:||Owned by:||vanessagomes|
|Cc:||valhallasw@…, vanessagomes||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
On installing Django 1.4 I was surprised to find that:
- The dev server now has a multi-threaded mode (great)
- The new multi-threaded mode is used by default (surprisingly aggressive)
- The release notes don't mention the new feature at all! (really?!)
The new multi-thread mode caused some problems for me with threads trying to use shared database connections which I will detail in another ticket. The thing I am pointing out here is that multi-threading is a big change, likely to cause many issues, and it took me totally by surprise.
I think the release notes should mention it and detail how to use --nothread to turn it off in case of problems.
Change History (10)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
comment:2 Changed 5 years ago by
|Triage Stage:||Unreviewed → Accepted|
|Type:||Bug → Cleanup/optimization|