Module: kamailio
Branch: master
Commit: 0cf6471045b4ebbc83ef64c026040b26b907df1a
URL: 
https://github.com/kamailio/kamailio/commit/0cf6471045b4ebbc83ef64c026040b26b907df1a

Author: Lucian Balaceanu <lucian.balace...@1and1.ro>
Committer: Lucian Balaceanu <lucian.balace...@1and1.ro>
Date: 2025-07-10T17:18:41+03:00

db_redis: add Redis auto expiry support by changing sets to hashes

Kudos go to Pawel Kuzak.

Redis v7.4, hashes support auto-expiry for individual keys.
By transforming sets into hashes we can support auto-expiry.

Adding module parameters mapping_struct_type, hash_expires, hash_value to 
control
the described feature.

---

Modified: src/modules/db_redis/db_redis_mod.c
Modified: src/modules/db_redis/db_redis_mod.h
Modified: src/modules/db_redis/doc/db_redis_admin.xml
Modified: src/modules/db_redis/redis_connection.c
Modified: src/modules/db_redis/redis_dbase.c
Modified: src/modules/db_redis/redis_dbase.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/0cf6471045b4ebbc83ef64c026040b26b907df1a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0cf6471045b4ebbc83ef64c026040b26b907df1a.patch

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to