Skip to content

Commit

Permalink
avoid using the "single" modifier in the "keepalive" directive becaus…
Browse files Browse the repository at this point in the history
…e the single mode is deprecated.
  • Loading branch information
agentzh committed Jun 17, 2012
1 parent 2ffae8e commit e5242f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion t/keepalive.t
Expand Up @@ -21,7 +21,7 @@ __DATA__
server 127.0.0.1:$TEST_NGINX_MEMCACHED_PORT;
#server 127.0.0.1:11985;
#server 127.0.0.1:11986;
keepalive 2 single;
keepalive 2;
#hash $arg_key;
}
Expand Down
2 changes: 1 addition & 1 deletion t/keepalive/incr-decr.t
Expand Up @@ -12,7 +12,7 @@ $ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
our $http_config = <<'_EOC_';
upstream foo {
server 127.0.0.1:$TEST_NGINX_MEMCACHED_PORT;
keepalive 1 single;
keepalive 1;
}
_EOC_

Expand Down
2 changes: 1 addition & 1 deletion t/keepalive/storage.t
Expand Up @@ -12,7 +12,7 @@ $ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
our $http_config = <<'_EOC_';
upstream foo {
server 127.0.0.1:$TEST_NGINX_MEMCACHED_PORT;
keepalive 1 single;
keepalive 1;
}
_EOC_

Expand Down
2 changes: 1 addition & 1 deletion t/upstream.t
Expand Up @@ -40,7 +40,7 @@ __DATA__
server 127.0.0.1:$TEST_NGINX_MEMCACHED_PORT;
server 127.0.0.1:11985;
server 127.0.0.1:11986;
#keepalive 2 single;
#keepalive 2;
#hash $arg_key;
}
Expand Down

0 comments on commit e5242f0

Please sign in to comment.