Opened 5 years ago

Last modified 4 years ago

#893 new enhancement

Switch mg_globals over to using werkzeug context locals

Reported by: Christopher Allan Webber Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: berkerpeksag Parent Tickets:

Description

Global variables suck, and break threading, and technically wsgi.

We should use Werkzeug locals instead:
http://werkzeug.pocoo.org/docs/local/

Subtickets

Change History (2)

comment:1 Changed 5 years ago by berkerpeksag

Cc: berkerpeksag added

comment:2 Changed 4 years ago by Loic Dachary

Type: defectenhancement
Note: See TracTickets for help on using tickets.