Merge pull request #2011 from Mezrin/development
Rearrange cron in UI to correspond to the actual order of work
This commit is contained in:
commit
dfd89854b6
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
// Small helper array that may be used on some page controllers to
|
// Small helper array that may be used on some page controllers to
|
||||||
// fetch the crons we wish to monitor
|
// fetch the crons we wish to monitor
|
||||||
$aMonitorCrons = array('statistics','payouts','tables_cleanup','blockupdate','findblock','notifications','tickerupdate');
|
|
||||||
|
|
||||||
switch ($config['payout_system']) {
|
switch ($config['payout_system']) {
|
||||||
case 'pplns':
|
case 'pplns':
|
||||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||||
break;
|
break;
|
||||||
case 'pps':
|
case 'pps':
|
||||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||||
break;
|
break;
|
||||||
case 'prop':
|
case 'prop':
|
||||||
$aMonitorCrons[] = 'proportional_payout';
|
$sPayoutSystem = 'proportional_payout';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user