diff mbox series

[ovs-dev,v2,7/8] northd: Increase the MAC binding removal delay

Message ID 20221104075729.219169-7-amusil@redhat.com
State Superseded
Headers show
Series [ovs-dev,v2,1/8] northd, controller: Add timestamp column to MAC_Binding table | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success

Commit Message

Ales Musil Nov. 4, 2022, 7:57 a.m. UTC
Reported-at: https://bugzilla.redhat.com/2084668
Signed-off-by: Ales Musil <amusil@redhat.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
---
 northd/mac-binding-aging.c | 2 +-
 ovn-nb.xml                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/northd/mac-binding-aging.c b/northd/mac-binding-aging.c
index 4a2dfbbf8..0196a116b 100644
--- a/northd/mac-binding-aging.c
+++ b/northd/mac-binding-aging.c
@@ -28,7 +28,7 @@ 
 
 VLOG_DEFINE_THIS_MODULE(mac_binding_aging);
 
-#define MAC_BINDING_BULK_REMOVAL_DELAY_MSEC 10
+#define MAC_BINDING_BULK_REMOVAL_DELAY_MSEC 5000
 
 struct mac_binding_waker {
     bool should_schedule;
diff --git a/ovn-nb.xml b/ovn-nb.xml
index 2747b0a7d..8aa125093 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -167,7 +167,7 @@ 
         MAC binding aging bulk removal limit. This limits how many rows
         can expire in a single transaction. Default value is 0 which
         is unlimited. When we hit the limit next batch removal is delayed by
-        10 ms.
+        5 s.
       </column>
 
       <column name="options" key="controller_event" type='{"type": "boolean"}'>