This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix b/27579240: Feed large directory listings asynchronously to avoid…
… timeouts. This change returns at most maxHtmlSize links in the generated HTML of a directory listing. If the directory has more than maxHtmlSize entries, the directory stream is closed and the generated HTML is returned as the response. A separate thread will then be launched to push the directory entries via the DocIdPusher. This should avoid getDocContent timeouts reading large directories.
- Loading branch information
1 parent
c99079e
commit d654ca5
Showing
3 changed files
with
134 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters