increase score api timeout to 20 seconds
This commit is contained in:
1
ml/digest-score/.gitignore
vendored
1
ml/digest-score/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.pkl
|
*.pkl
|
||||||
|
__pycache__
|
||||||
|
|||||||
@ -82,7 +82,7 @@ class ScoreClientImpl implements ScoreClient {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
timeout: 5000,
|
timeout: 20000, // 20 seconds
|
||||||
})
|
})
|
||||||
|
|
||||||
return response.data
|
return response.data
|
||||||
|
|||||||
Reference in New Issue
Block a user