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)
Mon, Nov 25, 6:47 AM
Unknown Object (File)
Sat, Nov 23, 2:47 PM
Unknown Object (File)
Thu, Nov 21, 4:24 AM
Unknown Object (File)
Nov 17 2024, 12:23 PM
Unknown Object (File)
Oct 30 2024, 10:35 AM
Unknown Object (File)
Oct 20 2024, 8:29 AM
Unknown Object (File)
Oct 15 2024, 2:18 AM
Unknown Object (File)
Oct 15 2024, 12:17 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.