1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/people/storage
epriestley 2b344b2bb5 Make caches misses throw by default intead of inline-generating
Summary:
Ref T4103. Ref T10078. Currently, when a user misses a cache we just build it for them.

This is the behavior we want for the the viewer (so we don't have to build every cache up front if we don't actually need them), but not the right behavior for other users (since it allows performance problems to go undetected).

Make inline cache generation strict by default, then make sure all the things that rely on cache data request the correct data (well, all of the things identified by unit tests, at least: there might be some more stuff I haven't hit yet).

This fixes test failures in D16040, and backports a piece of that change.

Test Plan: Identified and then fixed failures with `arc unit --everything`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103, T10078

Differential Revision: https://secure.phabricator.com/D16042
2016-06-05 08:51:54 -07:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorExternalAccount.php Add a session engine extension point 2016-04-05 15:19:47 -07:00
PhabricatorRegistrationProfile.php New Registration Workflow 2013-06-16 10:13:49 -07:00
PhabricatorUser.php Make caches misses throw by default intead of inline-generating 2016-06-05 08:51:54 -07:00
PhabricatorUserCache.php Modernize Conpherence access to user preferences 2016-06-04 14:41:25 -07:00
PhabricatorUserConfiguredCustomFieldStorage.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorUserCustomFieldNumericIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorUserCustomFieldStringIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorUserDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorUserEmail.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorUserLog.php Add "Mailing List" users 2015-06-03 18:42:33 -07:00
PhabricatorUserProfile.php Allow users to have profile icons 2016-01-24 09:58:01 -08:00
PhabricatorUserSchemaSpec.php Fix various MySQL version issues with new charset stuff 2014-10-29 15:49:29 -07:00
PhabricatorUserTransaction.php Rename PHIDType classes 2014-07-24 08:05:46 +10:00