1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-08 05:41:01 +01:00
phorge-phorge/src/applications/files/query
epriestley d80a53abcc Skip loading file transform sources when we know a file is not transformed
Summary:
Depends on D19223. Ref T13106. When we're loading a file, we currently test if it's a transformed version of another file (usually, a thumbnail) and apply policy behavior if it is.

We know that builtins and profile images are never transforms and that the policy behavior for these files doesn't matter anyway. Skip loading transforms for these files.

Test Plan: Saw local queries drop from 146 to 139 with no change in behavior.

Maniphest Tasks: T13106

Differential Revision: https://secure.phabricator.com/D19224
2018-03-14 12:45:06 -07:00
..
PhabricatorFileBundleLoader.php Extend from Phobject 2015-06-15 18:02:27 +10:00
PhabricatorFileChunkQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
PhabricatorFileQuery.php Skip loading file transform sources when we know a file is not transformed 2018-03-14 12:45:06 -07:00
PhabricatorFileSearchEngine.php Make daemons perform file deletion 2017-04-18 11:09:41 -07:00
PhabricatorFileTransactionQuery.php Remove @group annotations 2014-07-10 08:12:48 +10:00