I have this query binding, that I want to run every 10 minute.
The query return an array, and the python script run on that to fill al lot of custom props on a page.
The problem is that the query is sent to server a lot, like 4 times per second.
Where should I look for the problem/solution?
Put the expression
now(600000) on a custom property. Use that custom property in your query parameter expressions, and turn polling off. (The changes to the custom property will cause the query to execute again.)
Also, if you will have multiple clients looking at this screen, they will each cause the query to run. Consider moving this operation to a query tag (global), or use a named query with caching.