Page MenuHomePhabricator

Optimize filtering private threads when querying Conpherence
ClosedPublic

Authored by epriestley on Oct 20 2016, 8:32 PM.
Tags
None
Referenced Files
F19037902: D16740.diff
Wed, Nov 26, 1:53 AM
F19033735: D16740.id40314.diff
Tue, Nov 25, 11:32 AM
F19025600: D16740.diff
Nov 24 2025, 8:10 AM
F19004510: D16740.diff
Nov 21 2025, 11:47 AM
F18825708: D16740.diff
Oct 23 2025, 11:44 PM
F18770817: D16740.id40314.diff
Oct 8 2025, 3:11 PM
F18770136: D16740.id40310.diff
Oct 8 2025, 10:59 AM
F18629347: D16740.id40314.diff
Sep 16 2025, 8:34 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.