Change salsa_donate_page_total_donation_amount() to use a raw salsa query and add API to update cache.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | salsa_entity-donation-total-refactoring-2929143-2.patch | 4.32 KB | berdir |
Change salsa_donate_page_total_donation_amount() to use a raw salsa query and add API to update cache.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | salsa_entity-donation-total-refactoring-2929143-2.patch | 4.32 KB | berdir |
Comments
Comment #2
berdirThis uses salsa_api() which is about 3x faster than the previous entity query based approach because we load a lot less data and avoid writing all those elements to the cache.
Comment #4
berdirCommitted.