Pārlūkot izejas kodu

Tweak parameters.

copyvios-ng
Ben Kurtovic pirms 8 gadiem
vecāks
revīzija
a2df4bba0a
2 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. +1
    -2
      app.py
  2. +1
    -1
      copyvios/checker.py

+ 1
- 2
app.py Parādīt failu

@@ -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():


+ 1
- 1
copyvios/checker.py Parādīt failu

@@ -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:


Notiek ielāde…
Atcelt
Saglabāt