cameri / nostream

A Nostr Relay written in TypeScript
MIT License
713 stars 181 forks source link

feat(redis): Add prefix key to RedisAdapter #358

Open exodusanto opened 5 months ago

exodusanto commented 5 months ago

Description

Add option to set a Redis prefix for keys, this allow multiple apps to use same redis endpoint

Related Issue

Motivation and Context

In my case I have multiple app connected to a single Redis node on AWS, this prevent conflict in key names

How Has This Been Tested?

Ensure all keys has defined prefix

Screenshots (if appropriate):

Types of changes

Checklist: