Skip to content

Commit

Permalink
Tweak parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
earwig committed Jan 1, 2017
1 parent c0af265 commit a2df4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app.py
Expand Up @@ -52,8 +52,7 @@ def setup_app():
cache.background_data = {}
cache.last_background_updates = {}

getLogger("earwigbot.wiki.cvworker").setLevel(INFO)
globalize()
globalize(num_workers=12)

@app.before_request
def prepare_request():
Expand Down
2 changes: 1 addition & 1 deletion copyvios/checker.py
Expand Up @@ -81,7 +81,7 @@ def _get_results(query, follow=True):
if not query.result:
try:
query.result = page.copyvio_check(
min_confidence=T_SUSPECT, max_queries=10, max_time=45,
min_confidence=T_SUSPECT, max_queries=8, max_time=45,
no_searches=not use_engine, no_links=not use_links,
short_circuit=not query.noskip)
except exceptions.SearchQueryError as exc:
Expand Down

0 comments on commit a2df4bb

Please sign in to comment.