How Frequently does optimize refreshes the data in its database(Elastic Search)

I understand that Optimize retrieves its data from Camunda API’s as process changes its state, I wanted to understand how frequently does it get data?
How does it know it needs to refresh the Elastic search?
Is it a push from Camunda event listeners to Optimize Elastic search?

Hi @harish_malavade,

This is configurable. See the following link for details:

In general, there is no fixed period. Instead, an incremental backoff is applied if an import runs, but there is no data to import.

Thank you for the response @StephanHaarmann. I did go over some of those configuration I was not able to identify what configuration sets import time. the question I have is if Optimize is pulling data from APIs instead of being pushed from engine to optimize, how soon can it pull that data? is it every min? if so is there a delay of a minute

The default backofftime is 5 seconds. So, new data is imported every five seconds. If there is no new data, the backofftime is increased. This happens up to 15 times. If I’m not mistaken, this results in a max backofftime of 75 seconds.