mycred_compound_pay_max_limit
Description
This filter allows you to adjust the number of compounded interests the banking service will payout per instance. By default this is 1500. If more then 1500 compounded interests that need to be compounded, the compound interest schedule will re-schedule itself and run another 1500 users 2 min later until everyone has been paid.
The value you set should be the number of users that your website can process based on your servers max execution limit. On most servers this is 30 seconds which the default 1500 value is based on.
Available since version 1.7
Parameters
Param | Type | Required | Description |
---|---|---|---|
$limit |
int | Yes | The number of compounded interests to payout per instance. |
$service |
obj | No | The compound interest banking service object. |
Used By
Package | Prio. | Description |
---|---|---|
mycred/banking | 10 | Default usage |
Examples
No example found.