Page MenuHomePhabricator

D12726.diff
No OneTemporary

D12726.diff

diff --git a/src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php b/src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php
--- a/src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php
+++ b/src/applications/diffusion/conduit/DiffusionMergedCommitsQueryConduitAPIMethod.php
@@ -24,7 +24,8 @@
}
private function getLimit(ConduitAPIRequest $request) {
- return $request->getValue('limit', PHP_INT_MAX);
+ // TODO: Paginate this sensibly at some point.
+ return $request->getValue('limit', 4096);
}
protected function getGitResult(ConduitAPIRequest $request) {

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 8, 4:57 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7383359
Default Alt Text
D12726.diff (669 B)

Event Timeline