]> git.proxmox.com Git - mirror_ovs.git/commit - AUTHORS.rst
python: Allow tuning the session probe_interval from IDL
authorLucas Alvares Gomes <lucasagomes@gmail.com>
Tue, 11 Apr 2017 15:00:31 +0000 (16:00 +0100)
committerRussell Bryant <russell@ovn.org>
Thu, 13 Apr 2017 16:08:01 +0000 (12:08 -0400)
commitf73d562fc0ee3ff43f65cc418f213a79a727cb19
tree3db48bc3ec6f2619a3b667eedbff584e9313ec16
parent6bee8689260b63271c215729f81746442087e376
python: Allow tuning the session probe_interval from IDL

This patch is adding a new parameter called "probe_interval" to the
constructor of the Idl class. This new parameter will be used to tune
the database connection probing for that IDL session, some users might
want to tune it to be less agressive than the current 5s default in OVS
or even disable it.

Reported-at: https://bugs.launchpad.net/networking-ovn/+bug/1680146
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Acked-by: Daniel Alvarez <dalvarez@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
AUTHORS.rst
python/ovs/db/idl.py
python/ovs/jsonrpc.py