Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fpmsyncd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ else
DBGFLAGS = -g
endif

fpmsyncd_SOURCES = fpmsyncd.cpp fpmlink.cpp routesync.cpp $(top_srcdir)/warmrestart/warmRestartHelper.cpp \
fpmsyncd_SOURCES = fpmsyncd.cpp fpmlink.cpp routesync.cpp routesendcoalescer.cpp $(top_srcdir)/warmrestart/warmRestartHelper.cpp \
$(top_srcdir)/lib/orch_zmq_config.cpp

fpmsyncd_CFLAGS = $(DBGFLAGS) $(AM_CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_ASAN)
Expand Down
4 changes: 4 additions & 0 deletions fpmsyncd/fpmsyncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ int main(int argc, char **argv)
bool warmStartEnabled = sync.getWarmStartHelper().checkAndStart();
if (warmStartEnabled)
{
// Reconcile writes the route tables directly on this thread.
sync.retireRouteCoalescer();

/* Obtain warm-restart timer defined for routing application */
time_t warmRestartIval = sync.getWarmStartHelper().getRestartTimer();
if (!warmRestartIval)
Expand Down Expand Up @@ -179,6 +182,7 @@ int main(int argc, char **argv)
}
else
{
sync.startRouteCoalescer();
sync.getWarmStartHelper().setState(WarmStart::WSDISABLED);
}

Expand Down
Loading
Loading