]> git.puffer.fish Git - matthieu/frr.git/commitdiff
isisd: Adjust duration until lsp is regenerated
authorChristian Franke <chris@opensourcerouting.org>
Fri, 9 Nov 2018 16:12:53 +0000 (17:12 +0100)
committerChristian Franke <chris@opensourcerouting.org>
Fri, 9 Nov 2018 16:14:13 +0000 (17:14 +0100)
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>
isisd/isis_lsp.c

index bb090f42edda55fef18c9956f2d8331108d1b2fb..5df778fe70f095c172b4437ea81b669dbd19b5ce 100644 (file)
@@ -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,