Update heroku worker snippet in patterns

fix code snippet for RQ on Heroku.