You can configure the default value for the pending agent tasks threshold.
To set the default threshold value for pending agent tasks:
yantra.hm.agent.threshold=<value>
It is possible to set a specific threshold value for a specific agent as well.