Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13179657
D20728.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
699 B
Referenced Files
None
Subscribers
None
D20728.diff
View Options
diff --git a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
--- a/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
+++ b/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php
@@ -233,7 +233,10 @@
// number of records when the viewer can see few or none of them. See
// T11773 for some discussion.
$this->isOverheated = false;
- $overheat_limit = $limit * 10;
+
+ // See T13386. If we on an old offset-based paging workflow, we need
+ // to base the overheating limit on both the offset and limit.
+ $overheat_limit = $need * 10;
$total_seen = 0;
do {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 9, 9:21 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6277839
Default Alt Text
D20728.diff (699 B)
Attached To
Mode
D20728: Correct the interaction between overheating and offset-based paging
Attached
Detach File
Event Timeline
Log In to Comment