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
68e1a5635a
commit
fa92f813b9
|
@ -603,9 +603,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_json_cdr_load)
|
|||
}
|
||||
}
|
||||
|
||||
if (globals.retries && globals.delay) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Retries set but delay 0 setting to 5000ms\n");
|
||||
globals.delay = 5000;
|
||||
if (globals.retries && !globals.delay) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Retries set but delay 0 setting to 5 seconds\n");
|
||||
globals.delay = 5;
|
||||
}
|
||||
|
||||
globals.retries++;
|
||||
|
|
Loading…
Reference in New Issue