Ok, so the intervall dose work it seams. But all servers are returning different sales data from the same method.
Backoffice says sales on a variant is 1 on front 9 its 41, most fronts says its 0 sales. Backoffice have the correct value.
Is it safe to use the Statistics database table directly? Insted of the .bin file/memory ? We just need a quick fix give ElasticSearch product document correct sales data.
Hard to tell on the performance side! Calling it for every product in the indexing sounds unhealthy, hence we cache it to memory/file in the Accelerator in order to not create a performance thief.