mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-5888 --resolve Rather than changing the default behavior I've updated the log line to be more accurate. Also fixed the problem where the delay was being overwritten.
This commit is contained in:
parent
f009fd47a1
commit
aabf813ae1
@ -603,9 +603,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_json_cdr_load)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (globals.retries && globals.delay) {
|
if (globals.retries && !globals.delay) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Retries set but delay 0 setting to 5000ms\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Retries set but delay 0 setting to 5 seconds\n");
|
||||||
globals.delay = 5000;
|
globals.delay = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
globals.retries++;
|
globals.retries++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user