Open marcellobarile opened 11 months ago
could it be that processing_finished gets valued even though the job hasn't started yet?
I ended up polling the service until I don't get a result that has jobs without null and job_calibrations, with a maximum number of requests to not clog the API with an infinite loop, and a delay of 2,5 seconds between the retries.
I'm not sure if this is the proper way to do it, btw I would expect that processing_finished gets valued only when the whole process is done (meaning that all jobs are done).
And maybe a status field, in case something goes wrong during the process.
Hi, I'm trying to consume the API but, every now and then, I get this kind of response:
I find it confusing because of the
null
value in the jobs array. Isn't it supposed to be empty? Also note that the same image returns a valid response every now and then, eg:Is there something that I'm missing?