Community

Delay of 5 seconds

Hello

We have a complain of our costumers, they say that speed of OCR is very slow in some cases.

In class AbbyOCRService, method waitforCompletion, there is a sleep of 5 seconds

        while (task.isTaskActive()) {

            //System.out.println("Sin sleep..");

            Thread.sleep(5000);

            //System.out.println("Waiting..");

            task = restClient.getTaskStatus(task.Id);

        }

 

It's necesary for any reason? Can I reduce the amount of seconds of that wait?

Thanks in advance

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.