del.lua 85 B

12345
  1. local key=KEYS[1]
  2. if redis.call('del',key)==1
  3. then return 1
  4. else return 0
  5. end