This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new a366365  chore: correct log info (#2515)
a366365 is described below

commit a3663656f9496603e8968ce875abf33a61904854
Author: tashiya-menuri <[email protected]>
AuthorDate: Mon Oct 26 17:55:14 2020 +0530

    chore: correct log info (#2515)
    
    Close #2449
---
 apisix/init.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apisix/init.lua b/apisix/init.lua
index de51cd3..3a51f4b 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -83,7 +83,7 @@ function _M.http_init_worker()
     end
     math.randomseed(seed)
     -- for testing only
-    core.log.info("random test in [1, 10000]: ", math.random(1, 1000000))
+    core.log.info("random test in [1, 10000]: ", math.random(1, 10000))
 
     local we = require("resty.worker.events")
     local ok, err = we.configure({shm = "worker-events", interval = 0.1})
@@ -774,7 +774,7 @@ function _M.stream_init_worker()
     end
     math.randomseed(seed)
     -- for testing only
-    core.log.info("random stream test in [1, 10000]: ", math.random(1, 
1000000))
+    core.log.info("random stream test in [1, 10000]: ", math.random(1, 10000))
 
     router.stream_init_worker()
     plugin.init_worker()

Reply via email to