Closed
Bug 798064
Opened 12 years ago
Closed 12 years ago
Liberate multi db write/master decorators
Categories
(Marketplace Graveyard :: Code Quality, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kumar, Unassigned)
References
Details
The webpay app (bug 794651) needs to use the @write decorators to pin tasks to master. We should move those from zamboni -- https://github.com/mozilla/zamboni/blob/7c71801349a6f6c10104163d8180e0e30d6ff9c2/apps/amo/decorators.py#L161 -- to https://github.com/jbalogh/django-multidb-router
Reporter | ||
Comment 1•12 years ago
|
||
Shazam! Looks like this was liberated a while back https://github.com/jbalogh/django-multidb-router#use_master
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 2•12 years ago
|
||
I was thinking webapp could just hit a read only slave, this makes it way easier to scale, what are the writes for?
You need to log in
before you can comment on or make changes to this bug.
Description
•