Forces KRT rescan on syncer startup with multi syncer config.
Thanks to Sergey Popovich for the patch.
This commit is contained in:
parent
1cd198cf52
commit
f8cc7396cf
1 changed files with 2 additions and 3 deletions
|
@ -846,12 +846,11 @@ static void
|
||||||
krt_scan_timer_start(struct krt_proto *p)
|
krt_scan_timer_start(struct krt_proto *p)
|
||||||
{
|
{
|
||||||
if (!krt_scan_count)
|
if (!krt_scan_count)
|
||||||
{
|
|
||||||
krt_scan_timer = tm_new_set(krt_pool, krt_scan, NULL, 0, KRT_CF->scan_time);
|
krt_scan_timer = tm_new_set(krt_pool, krt_scan, NULL, 0, KRT_CF->scan_time);
|
||||||
tm_start(krt_scan_timer, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
krt_scan_count++;
|
krt_scan_count++;
|
||||||
|
|
||||||
|
tm_start(krt_scan_timer, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue