Browse Source

TIME can be considered a read-only command in MASTER / SLAVE.

Daniele Alessandri 13 years ago
parent
commit
b94e002e90
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Predis/Network/MasterSlaveReplication.php

+ 1 - 0
lib/Predis/Network/MasterSlaveReplication.php

@@ -410,6 +410,7 @@ class MasterSlaveReplication implements IConnectionReplication
             'QUIT'              => true,
             'OBJECT'            => true,
             'BITCOUNT'          => true,
+            'TIME'              => true,
             'SORT'              => array($this, 'isSortReadOnly'),
         );
     }