Tasklist in spring-boot application is slow to display tasks

Hi.
We have created a small solution where we have a spring-boot application running the camunda webapps and another sb-application running an engine and some diagrams. We are using asynchronus-continuation to be able to make the webapps do the tasks in the tasklist.

But a problem we have is that it takes around 5-10 seconds for the tasklist to display the new tasks, when moving forward in the diagrams. We have set the engines jobexecutor wait time to 100MS and if we look in the cockpit we see that the diagram progresses to the next task quick, but the task does not show up in the tasklist till after 5-10 seconds.
We are just running it local for now and via a h2-filebased DB, since the project is just to try camunda.

Is there any configuration that needs to be done to make the tasks show more quickly, or is it simply that the DB/the setup is to slow?

Thanks in advance.

Hi @NoFace ,

As we currently don’t support long-polling for anything other than external tasks, Tasklist will Refresh the List of Tasks every 10 seconds or after the completion of a task. This interval was chosen to avoid flooding the server with requests.

You’ll need to build a custom version of the Webapps and change the timeout here.
EDIT: Alternatively, you can create a custom script which triggers the refresh on the root scope in another interval. This way you don’t have to build the whole webapps.

KR
Martin

Hi.
Oh I see.
A custom script should do the job for us!
Thank you for the response!