1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications
epriestley aa550189c7 Add an availability cache for users
Summary: Ref T7707. Caches availability on users to reduce the cost of loading handles. This cache is very slightly tricky to dirty properly.

Test Plan:
  - Use DarkConsole to examine queries; saw cache hits, miss+fill, dirty.
  - Saw availability change correctly after canceling, joining, declining events.
  - Saw no queries to Calendar for pages with only availability data.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7707

Differential Revision: https://secure.phabricator.com/D12838
2015-05-14 11:15:22 -07:00
..
almanac Give typeahead browse dialogs sensible titles 2015-04-20 10:06:23 -07:00
aphlict Quicksand - make notification and message counts update as you navigate around 2015-04-21 15:46:36 -07:00
arcanist/conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
audit Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
auth Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
base Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
cache Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
calendar Add an availability cache for users 2015-05-14 11:15:22 -07:00
celerity Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
chatlog Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
conduit Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
config Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
conpherence Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
console Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
countdown Refactor most uses of AphrontFormDateControl to user AphrontFormDateControlValue 2015-05-05 19:19:20 -07:00
daemon Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
dashboard Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
differential Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
diffusion Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
diviner Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
doorkeeper Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
draft/storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
drydock Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
fact Modernize Fact a bit 2015-03-03 13:48:30 -08:00
feed Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
files Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
flag Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
fund Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
harbormaster Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
help Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
herald Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
home Update various hard-coded URIs 2015-04-26 07:15:25 -07:00
legalpad Fix an issue in legalpad when signing with a registered email address 2015-04-24 14:26:00 -07:00
lipsum Minor tidying of lipsum generate workflow 2015-03-01 09:41:52 +11:00
macro Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
mailinglists Give typeahead browse dialogs sensible titles 2015-04-20 10:06:23 -07:00
maniphest Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
meta Give typeahead browse dialogs sensible titles 2015-04-20 10:06:23 -07:00
metamta Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
multimeter Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
notification Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
nuance Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
oauthserver "Create Application" button in OAuth Server application should be greyed out if user does not have correct capabilities. 2015-04-26 12:51:01 -07:00
owners Give typeahead browse dialogs sensible titles 2015-04-20 10:06:23 -07:00
passphrase Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
paste Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
people Add an availability cache for users 2015-05-14 11:15:22 -07:00
phame Quicksand - add phame live URLs to quicksand blacklist 2015-05-12 14:44:47 -07:00
phid Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
phlux Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
pholio Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
phortune Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
phpast Use PhutilXHPASTBinary methods 2015-02-03 06:59:16 +11:00
phragment Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
phrequent Refactor most uses of AphrontFormDateControl to user AphrontFormDateControlValue 2015-05-05 19:19:20 -07:00
phriction Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
policy Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
ponder Expand typeahead document copy 2015-04-27 10:06:38 -07:00
project Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
releeph Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
remarkup/conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
repository Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
search Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
settings Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
slowvote Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
subscriptions Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Destroy associated worker tasks and notifications 2015-05-14 06:49:30 +10:00
tokens Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
transactions Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
typeahead Separate handle "status" and "availability" 2015-05-14 11:14:44 -07:00
uiexample Refactor most uses of AphrontFormDateControl to user AphrontFormDateControlValue 2015-05-05 19:19:20 -07:00
xhprof Use phutil_json_decode instead of json_decode 2015-05-05 20:48:55 +10:00