HomePhabricator

resourceloader: Use upsert() instead of replace() for module_deps write

Description

resourceloader: Use upsert() instead of replace() for module_deps write

This should perform better and reduce internal lock contention on the
database server.

Bug: T158105
Change-Id: I1acfb0630946283b317cb929e8d7c3b2af757ecf

Details

Provenance
KrinkleAuthored on Feb 14 2017, 9:36 PM
Parents
rMW71803987d322: Merge "Create IResultWrapper interface for type-hints"
Branches
Unknown
Tags
Unknown
ChangeId
I1acfb0630946283b317cb929e8d7c3b2af757ecf