Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What keys does Python-RQ use on the redis server?

I'm using a redis server both for queueing worker jobs and for a cache, and since I don't want key conflicts, I want to know what key names Python-RQ uses to store its data.

like image 731
noɥʇʎԀʎzɐɹƆ Avatar asked Sep 27 '22 15:09

noɥʇʎԀʎzɐɹƆ


1 Answers

The answer is hidden in the contrib tab, under internals here,

All jobs are stored in Redis under the rq:job: prefix, for example

rq:job:55528e58-9cac-4e05-b444-8eded32e76a1

Further reading shows that all metadata is stored there, so the answer is only keys which start with rq:job, so you (or I?) should be safe.

like image 176
noɥʇʎԀʎzɐɹƆ Avatar answered Oct 12 '22 01:10

noɥʇʎԀʎzɐɹƆ