diff options
Diffstat (limited to 'Modules/_librabbitmq/connection.h')
-rw-r--r-- | Modules/_librabbitmq/connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_librabbitmq/connection.h b/Modules/_librabbitmq/connection.h index 9595085..2d40d7d 100644 --- a/Modules/_librabbitmq/connection.h +++ b/Modules/_librabbitmq/connection.h @@ -151,6 +151,7 @@ typedef struct { int frame_max; int channel_max; int heartbeat; + int connect_timeout; int sockfd; int connected; @@ -267,6 +268,8 @@ static PyMemberDef PyRabbitMQ_ConnectionType_members[] = { offsetof(PyRabbitMQ_Connection, frame_max), READONLY, NULL}, {"callbacks", T_OBJECT_EX, offsetof(PyRabbitMQ_Connection, callbacks), READONLY, NULL}, + {"connect_timeout", T_INT, + offsetof(PyRabbitMQ_Connection, connect_timeout), READONLY, NULL}, {NULL, 0, 0, 0, NULL} /* Sentinel */ }; |