0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Don't run aggregation on feed end

This commit is contained in:
Igor Putovny 2024-05-30 14:36:54 +02:00
parent 67518edad1
commit f8ba169152

View File

@ -920,16 +920,6 @@ run_aggregation(struct aggregator_proto *p)
log("==== AGGREGATION DONE ===="); log("==== AGGREGATION DONE ====");
} }
static void
aggregate_on_feed_end(struct channel *C)
{
struct aggregator_proto *p = SKIP_BACK(struct aggregator_proto, p, C->proto);
/* Run aggregation only on feed end from the source channel */
if (C == p->src)
run_aggregation(p);
}
static void static void
aggregate_on_settle_timer(struct settle *s) aggregate_on_settle_timer(struct settle *s)
{ {
@ -1549,7 +1539,6 @@ aggregator_init(struct proto_config *CF)
P->rt_notify = aggregator_rt_notify; P->rt_notify = aggregator_rt_notify;
P->preexport = aggregator_preexport; P->preexport = aggregator_preexport;
P->feed_end = aggregate_on_feed_end;
return P; return P;
} }