Permalink
Browse files

Update conf/nginx.conf

  • Loading branch information...
1 parent c943b29 commit 159822f06dc45ec3d4a7ce8c558b428c710a3506 @yaoweibin committed May 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 conf/nginx.conf
View
@@ -1,4 +1,3 @@
-
#daemon off;
#user nobody;
worker_processes 2;
@@ -65,6 +64,7 @@ http {
content_by_lua '
local n = ngx.var.number
index = n % 10000
+ index = index + 1
local res_key = ngx.location.capture("/memc",
{ args = { cmd = "get", key = index } }
@@ -98,6 +98,7 @@ http {
content_by_lua '
local n = ngx.var.number
index = n % 10000
+ index = index + 1
local res = ngx.location.capture("/memc",
{ args = { cmd = "get", key = index } }

0 comments on commit 159822f

Please sign in to comment.