From: Christian Franke Date: Fri, 9 Nov 2018 16:12:53 +0000 (+0100) Subject: isisd: Adjust duration until lsp is regenerated X-Git-Tag: frr-7.1-dev~212^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=01c3745f56fd40e5a3bb90efc2c1541d98023424;p=matthieu%2Ffrr.git 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 --- diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index bb090f42ed..5df778fe70 100644 --- a/isisd/isis_lsp.c +++ b/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,