Skip to content
Permalink
Browse files

isisd: Adjust duration until lsp is regenerated

It turns out 50ms is actually too short to aggregate all changes
in some cases, so allow for 100ms.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
  • Loading branch information...
cfra committed Nov 9, 2018
1 parent 3759776 commit 01c3745f56fd40e5a3bb90efc2c1541d98023424
Showing with 1 addition and 1 deletion.
  1. +1 −1 isisd/isis_lsp.c
@@ -1361,7 +1361,7 @@ static int lsp_refresh(struct thread *thread)
if ((area->is_type & level) == 0)
return ISIS_ERROR;

if (monotime_since(&area->last_lsp_refresh_event[level - 1], NULL) < 50000L) {
if (monotime_since(&area->last_lsp_refresh_event[level - 1], NULL) < 100000L) {
sched_debug("ISIS (%s): Still unstable, postpone LSP L%d refresh",
area->area_tag, level);
_lsp_regenerate_schedule(area, level, 0, false,

0 comments on commit 01c3745

Please sign in to comment.
You can’t perform that action at this time.