@lbalaceanu commented on this pull request.


In src/modules/db_redis/doc/db_redis_admin.xml:

> @@ -243,6 +243,52 @@ modparam("db_redis", "opt_tls", 1)
 			</example>
 		</section>
 
+		<section id="db_redis.p.use_redis_hashes">
+			<title><varname>use_redis_hashes</varname> (int)</title>
+			<para>
+				Controls whether to use Redis hashes for storing the records in the database.
+				If 0, sets are used (which is the default).
+			</para>
+			<para>
+				Motivation of hashes is the implementation of HEXPIRE command in Redis,
+				available since Redis v 7.4.0 onwards, which allows expiring individual
+				keys inside. Hashes do bring the disadvantage of storing DUMMY values, 
+				since only the keys are useful for us.

Hi @miconda, this "DUMMY" name was just a random pick, the value is currently not used. Sure, we will make it configurable.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4306/review/2982814056@github.com>