pystemon icon indicating copy to clipboard operation
pystemon copied to clipboard

RedisStorage doesn't store content unlike other storage systems

Open osagit opened this issue 3 years ago • 2 comments

Hello, I wonder why RedisStorage doesn't store paste content unlike other storage systems ? Is there a limitation of Redis or stuff like that RedisStorage should only store paths and depends on FileStorage ? Many thanks.

osagit avatar Mar 31 '21 07:03 osagit

Excellent question, it could store everything, but afaik that's not really the idea with redis. Feel free to initiate a PR with a patch to (optionally) allow storing the full paste in redis.

cvandeplas avatar Apr 06 '21 12:04 cvandeplas

Many thanks for the reply, ok i will initiate a PR with options inspired by the mongo save-profile config. Redis streams seems to be relevant.

osagit avatar Apr 06 '21 17:04 osagit