Commit f8cc7396 authored by Ondrej Zajicek's avatar Ondrej Zajicek
Browse files

Forces KRT rescan on syncer startup with multi syncer config.

Thanks to  Sergey Popovich for the patch.
parent 1cd198cf
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -846,12 +846,11 @@ static void
krt_scan_timer_start(struct krt_proto *p)
{
  if (!krt_scan_count)
  {
    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++;

  tm_start(krt_scan_timer, 0);
}

static void