stream: By default disable probing on unix sockets.
[openvswitch] / python / ovs / jsonrpc.py
index 5f90b3962d21f7b5da0a121773a9cf7cf6876e4b..b72af77cfcc6e5c95d88ff33726f22731c9107f5 100644 (file)
@@ -372,6 +372,9 @@ class Session(object):
         if ovs.stream.PassiveStream.is_valid_name(name):
             reconnect.set_passive(True, ovs.timeval.msec())
 
+        if ovs.stream.stream_or_pstream_needs_probes(name):
+            reconnect.set_probe_interval(0)
+
         return Session(reconnect, None)
 
     @staticmethod