File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
perl/p5-Shardcache-Client-Fast Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11Revision history for Perl extension Shardcache::Client::Fast.
22
3+ 0.12 Fri Jun 20 13:23:59 CEST 2014
4+ - introduced the multi_command_max_wait() method to allow
5+ setting the shardcache_client option with the same name
6+ and determining the timeout to use for get_multi/set_multi
7+ commands if no data is being received
8+
390.11 Tue Jun 17 23:27:09 CEST 2014
410 - error handling in the get_async callback
511
Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ shardcache_client_tcp_timeout(c, new_value)
132132 shardcache_client_t * c
133133 int new_value
134134
135+ int
136+ shardcache_client_multi_command_max_wait (c , new_value )
137+ shardcache_client_t * c
138+ int new_value
139+
135140int
136141shardcache_client_use_random_node (c , new_value )
137142 shardcache_client_t * c
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ our %EXPORT_TAGS = ( 'all' => [ qw(
3434 shardcache_client_errno
3535 shardcache_client_errstr
3636 shardcache_client_tcp_timeout
37+ shardcache_client_multi_command_max_wait
3738 shardcache_client_use_random_node
3839 shardcache_client_pipeline_max
3940) ] );
@@ -44,7 +45,7 @@ our @EXPORT = qw(
4445
4546) ;
4647
47- our $VERSION = ' 0.11 ' ;
48+ our $VERSION = ' 0.12 ' ;
4849
4950sub AUTOLOAD {
5051 # This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -131,6 +132,11 @@ sub tcp_timeout {
131132 return shardcache_client_tcp_timeout($self -> {_client }, $new_value );
132133}
133134
135+ sub multi_command_max_wait {
136+ my ($self , $new_value ) = @_ ;
137+ return shardcache_client_multi_command_max_wait($self -> {_client }, $new_value );
138+ }
139+
134140sub use_random_node {
135141 my ($self , $new_value ) = @_ ;
136142 return shardcache_client_use_random_node($self -> {_client }, $new_value );
You can’t perform that action at this time.
0 commit comments