Skip to content

Commit

Permalink
Changed default value of max threads option to 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
tijme committed May 2, 2017
1 parent 07a6cf0 commit 7759a1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def cb_form_after_autofill(queue_item, elements, form_data):
}

# Performance options
options.performance.max_threads = 8 # The maximum amount of simultaneous threads to use for crawling. Default is 4.
options.performance.max_threads = 10 # The maximum amount of simultaneous threads to use for crawling. Default is 8.

crawler = Crawler(options)
crawler.start_with(Request("https://finnwea.com/"))
2 changes: 1 addition & 1 deletion nyawc/Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class OptionsPerformance:
def __init__(self):
"""Constructs an OptionsPerformance instance."""

self.max_threads = 4
self.max_threads = 8

class OptionsIdentity:
"""The OptionsIdentity class contains the identity/footprint settings/options.
Expand Down

0 comments on commit 7759a1e

Please sign in to comment.