Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] File upload fixing inference timeout check (elastic#204722)
Fixes issue in serverless where the inference call to deploy elser times out, which is expected, but returns with an unexpected `500` error code. This causes the UI to stop the upload process. ![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f) This PR increases the timeout length to 10mins and allows for `500` errors just in case. Testing this shows that with the extra timeout time in kibana, another timeout happens at 1min but this returns with an expected `408`. Therefore allowing for `500`s might not be needed, but I don't think there is any harm.
- Loading branch information