The repayment cap works like a factor rate. It sets the most you will pay in total, and once your revenue-share payments reach it, the deal is done. It is often written as a multiple, such as 1.30, or as a dollar figure.
The cap fixes the cost, not the timeline. If revenue grows fast, you hit the cap sooner and the annualized cost rises. If revenue slows, you pay the same total over more months.
Check whether the contract sets a minimum payment or a maximum term, since either one changes how the cap behaves in a slow year.