1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/people/query
epriestley eac49e421a Fix an issue where an excessively long TTL was computed for "not attending anything" event caches
Summary:
Fixes T11894. Currently, if you aren't attending any events for a while, we can cache that you are free for the next 72 hours, even if you have an event in a few hours.

Instead, only cache "user is free" until the next event, if one exists.

Test Plan: Dumped cache TTLs, saw 52 minutes instead of ~4300 minutes with a near-upcoming event.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11894

Differential Revision: https://secure.phabricator.com/D16937
2016-11-23 15:22:13 -08:00
..
PhabricatorPeopleLogQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
PhabricatorPeopleLogSearchEngine.php [Redesign] Remove AphrontTable restriction on Search Engine 2015-06-29 12:28:55 -07:00
PhabricatorPeopleQuery.php Fix an issue where an excessively long TTL was computed for "not attending anything" event caches 2016-11-23 15:22:13 -08:00
PhabricatorPeopleSearchEngine.php Add a modern user.search Conduit API method 2016-05-22 05:54:31 -07:00
PhabricatorPeopleTransactionQuery.php Implement PhabricatorApplicationTransactionInterface on PhabricatorUser 2015-06-08 13:35:57 -07:00