Redis - key prefix length

Redis - key prefix length

by Stuart Anderson -
Number of replies: 0
I noticed that th guidence provided on the moodle Redis help page https://docs.moodle.org/403/en/Redis_cache_store#Configuring_Redis_in_Moodle suggests including a cache store prefix and gives and example of "my-school-name_cs_". 

However, when I view the inline help for the Key prefix field when setting up the Redis instance in moodle it says "This prefix is used for all key names on the Redis server. * If you only have one Moodle instance using this server, you can leave this value default. * Due to key length restrictions, a maximum of 5 characters is permitted."

The example prefix suggests that a longer prefix than 5 characters can be used.  Which is correct?  The guidence page or the inline help? i.e. what is my maximum prefix length?

Thanks,

Stuart
Average of ratings: -