mod _CoordinatedSessionCreator (#11609)
This commit is contained in:
parent
4d5ff2ee95
commit
5a44a711bd
@ -535,7 +535,7 @@ class _MonitoredSession(object):
|
|||||||
# __exit__ should return True to suppress an exception.
|
# __exit__ should return True to suppress an exception.
|
||||||
return exception_type is None
|
return exception_type is None
|
||||||
|
|
||||||
class _CoordinatedSessionCreator(object):
|
class _CoordinatedSessionCreator(SessionCreator):
|
||||||
"""Factory for the _RecoverableSession."""
|
"""Factory for the _RecoverableSession."""
|
||||||
|
|
||||||
def __init__(self, session_creator, hooks, stop_grace_period_secs):
|
def __init__(self, session_creator, hooks, stop_grace_period_secs):
|
||||||
|
Loading…
Reference in New Issue
Block a user