Skip to content

Instantly share code, notes, and snippets.

@patte
Last active June 22, 2018 17:54
Show Gist options
  • Save patte/a1103520cf2a55acac99d71d4ed32123 to your computer and use it in GitHub Desktop.
Save patte/a1103520cf2a55acac99d71d4ed32123 to your computer and use it in GitHub Desktop.
delete (pre*)publications from redis
  1. connect to redis
heroku redis:cli redis-NAME -a republik-api
  1. delete keys
EVAL "return redis.call('del', unpack(redis.call('keys', ARGV[1])))" 0 *publication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment