1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 02:02:41 +01:00
phorge-phorge/src/applications/notification
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 Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
builder Allow users to turn off desktop notifications 2016-06-05 08:49:21 -07:00
client Support Aphlict clustering 2016-04-14 13:26:30 -07:00
config Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
controller Cache user notification and message counts 2016-06-05 08:52:43 -07:00
engineextension Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
feed Desktop Notification support 2015-06-22 13:11:37 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
query Convert all calls to 'IconFont' to just 'Icon' 2016-01-27 20:59:27 -08:00
setup Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
storage Cache user notification and message counts 2016-06-05 08:52:43 -07:00
view Rewrite Aphlict to use Websockets 2015-01-08 10:03:00 -08:00