revert previous and decrease timeout.
This commit is contained in:
parent
5c4fc6d5a0
commit
95b33123e3
@ -30,7 +30,7 @@ from wikiq.wiki_diff_matcher import WikiDiffMatcher
|
||||
|
||||
TO_ENCODE = ("title", "editor")
|
||||
PERSISTENCE_RADIUS = 7
|
||||
DIFF_TIMEOUT = 60
|
||||
DIFF_TIMEOUT = 30
|
||||
from pathlib import Path
|
||||
|
||||
import pyarrow as pa
|
||||
@ -505,9 +505,9 @@ class WikiqParser:
|
||||
num_context_lines=1000000,
|
||||
max_word_level_diff_complexity=-1,
|
||||
moved_paragraph_detection_cutoff=-1,
|
||||
words_cache_capacity=-1,
|
||||
diff_cache_capacity=-1,
|
||||
stats_cache_capacity=-1,
|
||||
words_cache_capacity=10000,
|
||||
diff_cache_capacity=10000,
|
||||
stats_cache_capacity=10000,
|
||||
)
|
||||
|
||||
fast_differ = pywikidiff2.pywikidiff2(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user