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:
parent
67518edad1
commit
f8ba169152
@ -920,16 +920,6 @@ run_aggregation(struct aggregator_proto *p)
|
||||
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
|
||||
aggregate_on_settle_timer(struct settle *s)
|
||||
{
|
||||
@ -1549,7 +1539,6 @@ aggregator_init(struct proto_config *CF)
|
||||
|
||||
P->rt_notify = aggregator_rt_notify;
|
||||
P->preexport = aggregator_preexport;
|
||||
P->feed_end = aggregate_on_feed_end;
|
||||
|
||||
return P;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user