#17997 closed Cleanup/optimization (fixed)
unexpected multi-threaded dev server!
Reported by: | Owned by: | vanessagomes | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Release blocker | Keywords: | |
Cc: | valhallasw@…, vanessagomes | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Thanks!
Attachments (1)
Change History (10)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Bug → Cleanup/optimization |
comment:3 by , 13 years ago
Cc: | added |
---|
follow-up: 5 comment:4 by , 13 years ago
Severity: | Normal → Release blocker |
---|
This was reported again in #18126. A quote from that ticket (by onyxfish):
I stumbled across the new --nothreading option. It says to read more in the release notes, but this isn't mentioned in the release notes. This really tripped me
up when a threading bug appeared in development code where I did not think such a thing was possible.
I am not sure where this should be patched: 1.4 branch, trunk or both?
comment:5 by , 13 years ago
Replying to akaariai:
I am not sure where this should be patched: 1.4 branch, trunk or both?
I'd say "both".
comment:6 by , 12 years ago
Owner: | changed from | to
---|
comment:7 by , 12 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Er, --nothread should be --nothreading