[sr-dev] git:master:92be1114: topos_redis: increase the array size used for storage ops

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 7 09:54:42 CEST 2017


Module: kamailio
Branch: master
Commit: 92be111419f8884976dc3f6125e6df9db2f116a5
URL: https://github.com/kamailio/kamailio/commit/92be111419f8884976dc3f6125e6df9db2f116a5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-07-07T09:03:01+02:00

topos_redis: increase the array size used for storage ops

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

Diff:  https://github.com/kamailio/kamailio/commit/92be111419f8884976dc3f6125e6df9db2f116a5.diff
Patch: https://github.com/kamailio/kamailio/commit/92be111419f8884976dc3f6125e6df9db2f116a5.patch

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index 6a39f03cbe..f8d47999c2 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -49,7 +49,7 @@ static str _tps_redis_dprefix = str_init("d:z:");
 
 // void *redisCommandArgv(redisContext *c, int argc, const char **argv, const size_t *argvlen);
 
-#define TPS_REDIS_NR_KEYS	32
+#define TPS_REDIS_NR_KEYS	48
 #define TPS_REDIS_DATA_SIZE	8192
 
 static char _tps_redis_cbuf[TPS_DATA_SIZE];




More information about the sr-dev mailing list