Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added MULTI and EXEC to list of commands to ignore, previously only h…

…ad PING
  • Loading branch information...
commit 8d8758b520c971cdd7d1c77c9d80dac458ad5474 1 parent e217924
@terrcin authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 redis-key-pubsub.js
View
5 redis-key-pubsub.js
@@ -1,3 +1,5 @@
+// copied from: https://github.com/terrcin/redis-key-pubsub
+
var _und = require("underscore");
var redisSync = require('redis-sync');
@@ -242,7 +244,8 @@ var commands = {// STRINGS
sync.on('command', function(command, args) {
- if (command != 'ping') {
+ // commands to ignore
+ if (command != 'ping' && command != 'multi' && command != 'exec') {
//console.log(command, args[0][0].toString(), args)
Please sign in to comment.
Something went wrong with that request. Please try again.