From: Nick Porter Date: Tue, 25 Mar 2025 09:50:02 +0000 (+0000) Subject: Add htrie driver to sample rlm_cache module config X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1192383b59979efb6f25ca6dcbcd178353cb579;p=thirdparty%2Ffreeradius-server.git Add htrie driver to sample rlm_cache module config --- diff --git a/raddb/mods-available/cache b/raddb/mods-available/cache index 5b1a261c6ca..91c4a0b9be7 100644 --- a/raddb/mods-available/cache +++ b/raddb/mods-available/cache @@ -42,6 +42,9 @@ cache { # | Driver | Description # | `rbtree` | An in memory, non persistent rbtree based datastore. # Useful for caching data locally. + # | `htrie` | An in memory, non persistent datastore which can use + # a hash table, rbtree or patricia trie store depending + # on the data type of the key. # | `memcached` | A non persistent "webscale" distributed datastore. # Useful if the cached data need to be shared between # a cluster of RADIUS servers. @@ -60,6 +63,24 @@ cache { # Driver specific options are: # +# +# ### Htrie cache driver +# +# htrie { + # + # type:: Htrie backend type + # + # [options="header,autowidth"] + # |=== + # | Option | Description + # | `auto` | The backend is automatically determined based on data type of the key + # | `hash` | Use a hash table + # | `rb` | Use an rbtree + # | `trie` | Use a patricia trie + # +# type = "auto" +# } + # # ### Memcached cache driver #