From 07521b50355f976fec0552d052cb07af75175992 Mon Sep 17 00:00:00 2001 From: Viraj Kanwade Date: Tue, 30 Sep 2014 15:58:25 -0700 Subject: [PATCH] Added note about numeric channel names in redis --- demos/redis/README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/demos/redis/README b/demos/redis/README index dedb422212..01b18733f2 100644 --- a/demos/redis/README +++ b/demos/redis/README @@ -12,3 +12,11 @@ Test redis pubsub feature (redis 2.x) Send messages to channels: curl -D - -d "message=hello world" http://localhost:8888/queue/foo.bar curl -D - -d "message=yes, we can" http://localhost:8888/queue/l33t + +NOTE +---- + +1. It is recommned not to use numeric channel names. The QueueHandler will +get the channel as integer while at other places it would be string. +If you still want to use numeric channel name, make sure you cast the +name to str to avoid any issues.