From 073dc84399d29a2648aa20ad687524795d13609e Mon Sep 17 00:00:00 2001 From: Hyungjin Kim Date: Fri, 30 Sep 2016 00:11:27 +0900 Subject: Counting pending subscribe. Fix #396 --- async.h | 1 + 1 file changed, 1 insertion(+) (limited to 'async.h') diff --git a/async.h b/async.h index 59cbf46..e69d840 100644 --- a/async.h +++ b/async.h @@ -45,6 +45,7 @@ typedef void (redisCallbackFn)(struct redisAsyncContext*, void*, void*); typedef struct redisCallback { struct redisCallback *next; /* simple singly linked list */ redisCallbackFn *fn; + int pending_subs; void *privdata; } redisCallback; -- cgit v1.2.3