When using the REST API to ‘Create a Job’ and polling for the results, it appears as running indefinitely and never returns results for jobs that take some seconds (in my case around 5s).
I have done some tests changing only the calculation time and this behaviour seems to start appearing when the calculation takes more than around 1.2 seconds.
Expected Behavior
It should return the results once the calculation is finished.
Note, if you would set poll_result=true in the first step, this might lead to a successful result (with status=200) within the first second, but if the job does not complete within 1 second, you will receive the job-resource url and should continue to step 2.