Optimize performance with latency and maxAge
masterTo prevent performance issues in applications with high-frequency actions, use these settings:
latency(number in ms): If multiple actions are dispatched within this interval, they are collected and sent as a single batch. Default is500 ms. Set to0for instant sending.maxAge(number > 1): The maximum number of actions to keep in the history tree. Older actions are removed once this limit is reached. Default is50. Increasing this improves history depth but can impact performance.