Skip to content

Commit

Permalink
changes suggested to make cons helper script more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Aug 13, 2020
1 parent 00662ff commit ef9fbce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/simple/cons.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
#!/bin/sh
echo "HUEY CONSUMER"
echo "-------------"
echo "In another terminal, run 'python main.py'"
echo "Stop the consumer using Ctrl+C"
PYTHONPATH=.:$PYTHONPATH
export WORKER_CLASS=${1:-thread}
PYTHONPATH=".:$PYTHONPATH"
export PYTHONPATH
WORKER_CLASS=${1:-thread}
python ../../huey/bin/huey_consumer.py main.huey --workers=4 -k $WORKER_CLASS -C -S

0 comments on commit ef9fbce

Please sign in to comment.