Skip to content

Commit dcce83c

Browse files
committed
Add htrie driver to sample rlm_cache module config
1 parent bbe9f00 commit dcce83c

File tree

1 file changed

+21
-0
lines changed
  • raddb/mods-available

1 file changed

+21
-0
lines changed

raddb/mods-available/cache

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ cache {
4242
# | Driver | Description
4343
# | `rbtree` | An in memory, non persistent rbtree based datastore.
4444
# Useful for caching data locally.
45+
# | `htrie` | An in memory, non persistent datastore which can use
46+
# a hash table, rbtree or patricia trie store depending
47+
# on the data type of the key.
4548
# | `memcached` | A non persistent "webscale" distributed datastore.
4649
# Useful if the cached data need to be shared between
4750
# a cluster of RADIUS servers.
@@ -60,6 +63,24 @@ cache {
6063
# Driver specific options are:
6164
#
6265

66+
#
67+
# ### Htrie cache driver
68+
#
69+
# htrie {
70+
#
71+
# type:: Htrie backend type
72+
#
73+
# [options="header,autowidth"]
74+
# |===
75+
# | Option | Description
76+
# | `auto` | The backend is automatically determined based on data type of the key
77+
# | `hash` | Use a hash table
78+
# | `rb` | Use an rbtree
79+
# | `trie` | Use a patricia trie
80+
#
81+
# type = "auto"
82+
# }
83+
6384
#
6485
# ### Memcached cache driver
6586
#

0 commit comments

Comments
 (0)