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
|
||||
// fetch the crons we wish to monitor
|
||||
$aMonitorCrons = array('statistics','payouts','tables_cleanup','blockupdate','findblock','notifications','tickerupdate');
|
||||
|
||||
switch ($config['payout_system']) {
|
||||
case 'pplns':
|
||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'pps':
|
||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'prop':
|
||||
$aMonitorCrons[] = 'proportional_payout';
|
||||
break;
|
||||
case 'pplns':
|
||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'pps':
|
||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'prop':
|
||||
$sPayoutSystem = 'proportional_payout';
|
||||
break;
|
||||
}
|
||||
|
||||
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user