1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-20 10:48:40 +01:00
phorge-phorge/src/applications/feed
epriestley c1331bcb7b Cache user notification and message counts
Summary:
Ref T4103. Ref T10078. This puts a user cache in front of notification and message counts.

This reduces the number of queries issued on every page by 4 (2x building the menu, 2x building Quicksand data).

Also fixes some minor issues:

  - Daemons could choke on sending mail in the user's translation.
  - No-op object updates could fail in the daemons.
  - Questionable data access pattern in the file query coming out of the profile file cache.

Test Plan:
  - Sent myself notifications. Saw count go up.
  - Cleared them by visiting objects and clearing all notifications. Saw count go down.
  - Sent myself messages. Saw count go up.
  - Cleared them by visiting threads. Saw count go down.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103, T10078

Differential Revision: https://secure.phabricator.com/D16041
2016-06-05 08:52:43 -07:00
..
application Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
builder Merge branch 'master' into redesign-2015 2015-07-01 15:07:16 -07:00
conduit phtize all the things 2015-05-22 21:16:39 +10:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Update Feed Story page for newPage 2016-04-03 15:34:07 -07:00
management Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
query Consistently refer to 'Projects' as 'Tags' 2016-04-19 16:48:21 +00:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
story Remove "feed.public" and sort out feed policies 2015-07-01 15:06:55 -07:00
worker Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
PhabricatorFeedStoryPublisher.php Cache user notification and message counts 2016-06-05 08:52:43 -07:00