Removal of Unique Keys
Adds two ways of removing unique keys. Both of them use the same code. WARNING it will delete the keys matching that pattern.
Requirements
The reason this isn't added anywhere else yet is that it requires redis >= 2.8
if I am not mistaken. This gem might switch to that as a hard requirement in the near future.
Console
bundle exec jobs console
keys '*', count: 10_000
del_by '*', count: 100, dry_run: false
Command Line
bundle exec jobs keys '*' -n 1000
bundle exec jobs del '*' -n 1000, --no-dry-run