Estimated Remaining Time and Progress are 0
vnandan opened this issue · 0 comments
vnandan commented
Summary
Sending a request running a docker container does not return the Estimated Remaining Time and Progress Percentage as expected.
Steps To Reproduce
- Pull and docker up the container from latest image
- Sending a request to POST file.
curl --location 'http://localhost:3001/api/v1/document' --form 'file=@"/Users/vipul/Desktop/myfile.pdf"'
- Receive queue id.
- Send request
curl --location 'http://localhost:3001/api/v1/queue/69aff27ca931be0bfbed53ce580e5d'
- Response
{
"estimated-remaining-time": null,
"progress-percentage": 0,
"start-date": "2023-05-11T11:50:38.172Z",
"status": "executing command: python3 /usr/local/bin/pdf2txt.py -p 1,2,3,4,5,6,7,8,9,10,11,12,13,14 --detect-vertical -R 0 -c utf-8 -t xml --word-margin 0.2 -o /tmp/fdf720d32c89e86f83d95a9acaf95c.xml /tmp/82e9879b46a7f41aabe5a3dd9870f9.pdf"
}
Expected behavior
Estimated value of remaining time and progress percentage for UI.
Image Used:
latest tag
Tested via a Python Script and Postman