CBPSchedulerService :: setDelayMinLimit: Bitrix method

      
<?php 
//  CBPSchedulerService :: setDelayMinLimit()
//  /dist/bitrix/modules/bizproc/classes/general/schedulerservice.php:42

    
public static function setDelayMinLimit($limit$type 's')
    {
        
$limit = (int)$limit;
        switch (
$type)
        {
            case 
'd':
                
$limit *= 3600 24;
                break;
            case 
'h':
                
$limit *= 3600;
                break;
            case 
'm':
                
$limit *= 60;
                break;
            default:
                break;
        }
        \
Bitrix\Main\Config\Option::set('bizproc''delay_min_limit'$limit);
    }