On Thu, Mar 23, 2023 at 8:25 PM Vladislav Odintsov <[email protected]>
wrote:

> For large OVN_Southbound DBs defatult interval of 5000 ms could be not
> sufficient.  This patch disables OVSDB inactivity probes for ovn-*ctl
> running
> in non-daemon mode.
>
> Signed-off-by: Vladislav Odintsov <[email protected]>
> ---
>  utilities/ovn-dbctl.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/utilities/ovn-dbctl.c b/utilities/ovn-dbctl.c
> index 369a6a663..4307a5cae 100644
> --- a/utilities/ovn-dbctl.c
> +++ b/utilities/ovn-dbctl.c
> @@ -208,6 +208,9 @@ ovn_dbctl_main(int argc, char *argv[],
>      if (daemon_mode) {
>          server_loop(dbctl_options, idl, argc, argv_);
>      } else {
> +        /* Disable OVSDB probe interval for non-daemon mode. */
> +        ovsdb_idl_set_probe_interval(idl, 0);
> +
>          struct ctl_command *commands;
>          size_t n_commands;
>          char *error;
> --
> 2.36.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
Looks good to me, thanks.

Reviewed-by: Ales Musil <[email protected]>

-- 

Ales Musil

Senior Software Engineer - OVN Core

Red Hat EMEA <https://www.redhat.com>

[email protected]    IM: amusil
<https://red.ht/sig>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to