File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/RedisClient/Cluster/Hash Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11## CHANGELOG
22
3- ### v1.6.0 (2017-01-02 )
3+ ### v1.6.0 (2017-01-07 )
44- Added support for Redis 4.0 (the Client was tested with Redis 4.0 RC2).
55- Added support for Redis Cluster.
6- - Added method ** _ syncClusterSlotsFromRedisServer** .
6+ - Added method ** _ syncClusterSlotsFromRedisServer** for RedisClient .
77- Added command ** SWAPDB** , ** UNLINK** , ** MEMORY** for Redis >= 4.0
88- Updated command ** FLUSHALL** , ** FLUSHDB** for Redis >= 4.0
99
Original file line number Diff line number Diff line change 1111
1212/**
1313 * Transactions
14- * Note. Be careful in use pipeline with Clusters.
14+ * Note. Be careful in use transactions with Clusters. Try to use pipeline for it .
1515 */
1616
1717namespace Examples ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class Crc16 {
5353 */
5454 public static function hash ($ value ) {
5555 $ value = (string )$ value ;
56- $ crc = 0x0000 ;
56+ $ crc = 0 ;
5757 for ($ i = 0 , $ len = strlen ($ value ); $ i < $ len ; ++$ i ) {
5858 $ crc = 0xFFFF & (self ::$ crc16tab [($ crc >> 8 ) ^ ord ($ value [$ i ])] ^ ($ crc << 8 ));
5959 }
You can’t perform that action at this time.
0 commit comments