Merge "Add cooperative_yield() to OvsdbIdl"
This commit is contained in:
commit
5c1ad05fe0
@ -159,6 +159,9 @@ class Connection(object):
|
|||||||
|
|
||||||
|
|
||||||
class OvsdbIdl(idl.Idl):
|
class OvsdbIdl(idl.Idl):
|
||||||
|
def cooperative_yield(self):
|
||||||
|
time.sleep(0)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_server(cls, connection_string, schema_name, *args,
|
def from_server(cls, connection_string, schema_name, *args,
|
||||||
helper=None, helper_tables=None, **kwargs):
|
helper=None, helper_tables=None, **kwargs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user