litaio / lita

ChatOps for Ruby.
https://www.lita.io
MIT License
1.68k stars 179 forks source link

Redis namespace should be configurable #228

Closed dayglojesus closed 3 years ago

dayglojesus commented 3 years ago

Currently, the Redis namespace is defined as a constant: Lita::REDIS_NAMESPACE https://github.com/litaio/lita/blob/312df73b5d0937d1124cf0c96d4c90d1153b7d97/lib/lita.rb#L18

As such, to back more than one Lita instance in the same Redis, one is required to perform some extraordinary feats.

To mitigate this, this value should be exposed as a top-level Lita config parameter.