mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
146b2b8f59
With a lot of paths (hundreds of thousands) gobgp may oom or
stuck in swapping.
Allow to specify max batch size via grpc and keep unlimited batch
size by default since 21093fbc87
without preallocation on the first run, so it still should not
affect perfomance/allocations with small ammount of paths.
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>