walkor / redis-queue

Message queue system written in PHP based on workerman and backed by Redis.
37 stars 9 forks source link

ref(client): change queue names based on standard redis key naming co… #13

Open seyedmr opened 2 weeks ago

seyedmr commented 2 weeks ago

change queue names based on standard redis key naming conventions. bracket is not a good convention for redis keys.

also making keys in every lines of code was not a good way for making keys.

walkor commented 2 weeks ago

The use of bracket in Redis keys is to support Redis clustering. Additionally, changing Redis keys may cause some projects to be unable to consume messages from old keys after updates, so it should not be changed lightly.

seyedmr commented 1 week ago

i added brackets. but i removed magic strings and added getQueueName function instead. @walkor