You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/24 13:09:57 UTC

[GitHub] [apisix] zlm0125 commented on a change in pull request #2306: 1.fix generation of uuid;

zlm0125 commented on a change in pull request #2306:
URL: https://github.com/apache/apisix/pull/2306#discussion_r494302867



##########
File path: apisix/init.lua
##########
@@ -107,6 +107,10 @@ function _M.http_init_worker()
     require("apisix.debug").init_worker()
     require("apisix.upstream").init_worker()
 
+    -- need call seed
+    local uuid = require("resty.jit-uuid")
+    uuid.seed()

Review comment:
       But in k8s, it not work very well.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org