Skip to content

Commit

Permalink
Redis::SERIALIZER_PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed May 7, 2015
1 parent e2531f1 commit 7226cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GatewayWorker/Lib/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static function instance($config_name)
list($ip, $port) = explode(':', $address);
$timeout = 1;
self::$instance[$config_name]->connect($ip, $port, $timeout);
self::$instance[$config_name]->setOption(\Redis::OPT_SERIALIZER, \Redis::SERIALIZER_IGBINARY);
self::$instance[$config_name]->setOption(\Redis::OPT_SERIALIZER, \Redis::SERIALIZER_PHP);
}
return self::$instance[$config_name];
}
Expand Down

0 comments on commit 7226cfe

Please sign in to comment.