]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Set the cpu thresholds to 92 and 82
authorNenad Corbic <ncorbic@sangoma.com>
Fri, 16 Dec 2011 15:06:57 +0000 (10:06 -0500)
committerNenad Corbic <ncorbic@sangoma.com>
Fri, 16 Dec 2011 15:06:57 +0000 (10:06 -0500)
Set the 3000ms warning to NOTICE not CRIT

libs/freetdm/src/ftdm_io.c

index bb866610a2244c84c906743b78bbc47151027c0b..731b9f88efb9d95ab1176eccc0b2ee2e76056004 100644 (file)
@@ -5455,7 +5455,7 @@ static void execute_safety_hangup(void *data)
        ftdm_channel_lock(fchan);
        fchan->hangup_timer = 0;
        if (fchan->state == FTDM_CHANNEL_STATE_TERMINATING) {
-               ftdm_log_chan(fchan, FTDM_LOG_CRIT, "Forcing hangup since the user did not confirmed our hangup after %dms\n", FORCE_HANGUP_TIMER);
+               ftdm_log_chan(fchan, FTDM_LOG_NOTICE, "Forcing hangup since the user did not confirmed our hangup after %dms\n", FORCE_HANGUP_TIMER);
                _ftdm_channel_call_hangup_nl(__FILE__, __FUNCTION__, __LINE__, fchan, NULL);
        } else {
                ftdm_log_chan(fchan, FTDM_LOG_CRIT, "Not performing safety hangup, channel state is %s\n", ftdm_channel_state2str(fchan->state));
@@ -5722,8 +5722,8 @@ FT_DECLARE(ftdm_status_t) ftdm_global_configuration(void)
        globals.cpu_monitor.enabled = 0;
        globals.cpu_monitor.interval = 1000;
        globals.cpu_monitor.alarm_action_flags = 0;
-       globals.cpu_monitor.set_alarm_threshold = 80;
-       globals.cpu_monitor.clear_alarm_threshold = 70;
+       globals.cpu_monitor.set_alarm_threshold = 92;
+       globals.cpu_monitor.clear_alarm_threshold = 82;
 
        if (load_config() != FTDM_SUCCESS) {
                globals.running = 0;