Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-02-22 23:25:15 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-02-24 18:06:23 +0300
commitc75b3b93a046a8a1b3ebc637d77867e8be2438cd (patch)
treeecc0202696bae6e9df9cc7c483aa58f1b48bcecc /common.h
parent6cbe2a6df2374d4da5bda1c68f30fd6aae439dad (diff)
Connection limit for pool.
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.h b/common.h
index e5ec3b59..bd3d6965 100644
--- a/common.h
+++ b/common.h
@@ -736,6 +736,11 @@ typedef struct {
} RedisSock;
/* }}} */
+typedef struct {
+ zend_llist list;
+ int nb_active;
+} ConnectionPool;
+
#if (PHP_MAJOR_VERSION < 7)
typedef struct {
zend_object std;