Skip to content

Commit 05168e4

Browse files
iproto: add new protocol feature codes
IPROTO_FEATURE_PAGINATION (code 4) and protocol version 4 was added in Tarantool master [1]. 1. tarantool/tarantool@948e5cd Part of #267
1 parent 6f0d536 commit 05168e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: tarantool/const.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
IPROTO_FEATURE_TRANSACTIONS = 1
9797
IPROTO_FEATURE_ERROR_EXTENSION = 2
9898
IPROTO_FEATURE_WATCHERS = 3
99+
IPROTO_FEATURE_PAGINATION = 4
99100

100101
# Default value for connection timeout (seconds)
101102
CONNECTION_TIMEOUT = None
@@ -126,7 +127,7 @@
126127
# Default delay between attempts to reconnect (seconds)
127128
POOL_INSTANCE_RECONNECT_DELAY = 0
128129

129-
# Tarantool 2.10 protocol version is 3
130-
CONNECTOR_IPROTO_VERSION = 3
130+
# Tarantool master 948e5cdc (possible 2.11) protocol version is 4
131+
CONNECTOR_IPROTO_VERSION = 4
131132
# List of connector-supported features
132133
CONNECTOR_FEATURES = [IPROTO_FEATURE_ERROR_EXTENSION,]

0 commit comments

Comments
 (0)