8000 increased timeout time · antonini/stanford-corenlp-python@3853ce3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3853ce3

Browse files
committed
increased timeout time
1 parent 0e06696 commit 3853ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

corenlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def parse(self, text):
138138

139139
# anything longer than 5 seconds requires that you also
140140
# increase timeout=5 in jsonrpc.py
141-
max_expected_time = min(5, 2 + len(text) / 200.0)
141+
max_expected_time = min(6, 3 + len(text) / 20.0)
142142
print "Timeout", max_expected_time
143143
end_time = time.time() + max_expected_time
144144
incoming = ""

0 commit comments

Comments
 (0)
0