mycred_compound_max_limit
Description
This filter allows you to adjust the number of balances the compound interest banking service will process per instance. By default this is 1500. If more then 1500 balances need to be compounded, the compound interest schedule will re-schedule itself and run another 1500 users 2 min later until all balances are processed.
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 balances to compound 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.