Skip to content

Commit

Permalink
Added note about numeric channel names in redis
Browse files Browse the repository at this point in the history
  • Loading branch information
virajkanwade committed Sep 30, 2014
1 parent b81a3cc commit 07521b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions demos/redis/README
Expand Up @@ -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.

0 comments on commit 07521b5

Please sign in to comment.