Skip to content

Commit

Permalink
Added pubsub test message generation
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Apr 7, 2015
1 parent 8b92894 commit 240cd18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/fillredis/fill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ $CMD ZADD zset_01 3 "Third zset member"
$CMD ZADD zset_01 4 "Fourth zset member"
$CMD ZADD zset_01 5 "Fifth zset member"

# keep Docker container idle
# send messages to pubsub channel
while [ 1 ]
do
$CMD ping
sleep 60
$CMD PUBLISH pubsub_01 "Message published at `date`"
sleep 10
done

0 comments on commit 240cd18

Please sign in to comment.