]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Perf: Prune the table after every loop to have clean state.
authorMaria Matejka <mq@ucw.cz>
Tue, 29 Jan 2019 13:22:55 +0000 (14:22 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 31 Jan 2019 14:05:40 +0000 (15:05 +0100)
proto/perf/perf.c

index 07210a14742e4cadf7e8acf240133eb77b654c2f..8412254a630490cc5bb6616c49a4d0a900a43f6e 100644 (file)
@@ -206,6 +206,7 @@ perf_loop(void *data)
     p->exp++;
   }
 
+  rt_schedule_prune(P->main_channel->table);
   ev_schedule(p->loop);
 }