-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the concurrency when fetching pages
For a production test case, BookProvider::getPages() was opening 3492 concurrent connections to the Wikimedia servers. That exceeds the default maxmimum file descriptor limit, and there is a risk that the tool will be blocked by WMF sysadmins. So, limit the concurrency to 10 connections.
- Loading branch information
Showing
2 changed files
with
34 additions
and
6 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