longer timeout

This commit is contained in:
Rafał Jaworski 2019-06-13 14:21:36 +02:00
parent 8657c93491
commit 9639e9dc79

View File

@ -13,7 +13,7 @@ def lemmatize_sentences(language_code, sentences):
'language':language_code,
'sentences':sentences
}
response = requests.post(url = 'http://concordia-preprocessor:9001/preprocess', json = data)
response = requests.post(url = 'http://concordia-preprocessor:9001/preprocess', json = data, timeout = 120)
response_json = json.loads(response.text)
result = {'normalized':[], 'lemmatized':[]}