Ver código fonte

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

Daniele Alessandri 13 anos atrás
pai
commit
b94e002e90
1 arquivos alterados com 1 adições e 0 exclusões
  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'),
         );
     }