NAT refresh in own thread
This commit is contained in:
parent
403bf6af1c
commit
a53933eddb
|
@ -690,7 +690,7 @@ SWITCH_DECLARE(void) switch_nat_late_init(void)
|
|||
{
|
||||
if (nat_globals_perm.running == 1) {
|
||||
switch_scheduler_add_task(switch_epoch_time_now(NULL) + NAT_REFRESH_INTERVAL, switch_nat_republish_sched, "nat_republish", "core", 0, NULL,
|
||||
SSHF_NONE);
|
||||
SSHF_OWN_THREAD);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue