diff --git a/tarantool/connection.py b/tarantool/connection.py index 5b4fe608..5849994c 100644 --- a/tarantool/connection.py +++ b/tarantool/connection.py @@ -63,7 +63,6 @@ IPROTO_FEATURE_TRANSACTIONS, IPROTO_FEATURE_ERROR_EXTENSION, IPROTO_FEATURE_WATCHERS, - IPROTO_FEATURE_GRACEFUL_SHUTDOWN, IPROTO_CHUNK, ) from tarantool.error import ( @@ -514,7 +513,6 @@ def __init__(self, host, port, IPROTO_FEATURE_TRANSACTIONS: False, IPROTO_FEATURE_ERROR_EXTENSION: False, IPROTO_FEATURE_WATCHERS: False, - IPROTO_FEATURE_GRACEFUL_SHUTDOWN: False, } if connect_now: diff --git a/tarantool/const.py b/tarantool/const.py index 4843c387..4ea61444 100644 --- a/tarantool/const.py +++ b/tarantool/const.py @@ -96,7 +96,6 @@ IPROTO_FEATURE_TRANSACTIONS = 1 IPROTO_FEATURE_ERROR_EXTENSION = 2 IPROTO_FEATURE_WATCHERS = 3 -IPROTO_FEATURE_GRACEFUL_SHUTDOWN = 4 # Default value for connection timeout (seconds) CONNECTION_TIMEOUT = None diff --git a/test/suites/test_protocol.py b/test/suites/test_protocol.py index f1902afc..6a548e4f 100644 --- a/test/suites/test_protocol.py +++ b/test/suites/test_protocol.py @@ -13,7 +13,6 @@ IPROTO_FEATURE_TRANSACTIONS, IPROTO_FEATURE_ERROR_EXTENSION, IPROTO_FEATURE_WATCHERS, - IPROTO_FEATURE_GRACEFUL_SHUTDOWN, ) class TestSuite_Protocol(unittest.TestCase): @@ -86,7 +85,6 @@ def test_04_protocol(self): self.assertEqual(self.con._features[IPROTO_FEATURE_STREAMS], False) self.assertEqual(self.con._features[IPROTO_FEATURE_TRANSACTIONS], False) self.assertEqual(self.con._features[IPROTO_FEATURE_WATCHERS], False) - self.assertEqual(self.con._features[IPROTO_FEATURE_GRACEFUL_SHUTDOWN], False) @classmethod def tearDownClass(self):