Page MenuHomePhabricator

Optimize filtering private threads when querying Conpherence
ClosedPublic

Authored by epriestley on Oct 20 2016, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:26 PM
Unknown Object (File)
Wed, Apr 10, 4:23 PM
Unknown Object (File)
Wed, Apr 3, 5:14 PM
Unknown Object (File)
Fri, Mar 29, 2:20 AM
Unknown Object (File)
Fri, Mar 29, 12:14 AM
Unknown Object (File)
Feb 24 2024, 6:42 PM
Unknown Object (File)
Feb 7 2024, 4:07 PM
Unknown Object (File)
Feb 2 2024, 7:01 AM
Subscribers
None

Details

Summary

Because most threads are private, this query can overheat the policy filter (today, probably only on this install).

Improve the common case by skipping "Visible To: Room Participants" threads if the viewer isn't a participant. This means they don't hit the application and don't count toward overheating the filter.

Test Plan

Viewed Conpherence threads.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Optimize filtering private threads when querying Conpherence.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 20 2016, 8:36 PM
This revision was automatically updated to reflect the committed changes.