project Websites / Gitlab Issue Listing Script avatar

websites/Gitlab-Issue-Listing-Script#35: Add a prefix to redis keys



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.4
Created: 22-Apr-22 23:03



Description

We need to add a config option defining a prefix to be used for redis keynames.

This will allow instances the ability to have their own unique namespace, which is essential if instances are running with different configs (and why would you have multiple if they weren't?).

Otherwise an instance that doesn't restrict projects might poison the cache for one that does.



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit fca55c93a661509e98eadc95caa6594119a13641

Commit: fca55c93a661509e98eadc95caa6594119a13641 
Author: B Tasker                            
                            
Date: 2022-04-23T00:03:49.000+01:00 

Message

Add and use config option $redis_prefix for websites/Gitlab-Issue-Listing-Script#35

This allows a prefix to be set for redis key names - different instances of GILS sharing the same redis instance can therefore use different namespaces

+6 -1 (7 lines changed)