bugfix: set random seed for each worker process at init_worker phase, only init phase is not enough.#2357
Conversation
…e, only `init` phase is not enough.
|
@zlm0125 welcome to review and make a test with this PR. I think it should work fine for your case |
|
why only |
We want to set different we can delete those code https://github.com/apache/apisix/pull/2357/files#diff-d982d52466e7c93c7b604358339b2a29R85-R90 . Here is the right one: |
|
And we should remove random in |
you are right. let me do this later. |



What this PR does / why we need it:
related PR: #2306
Pre-submission checklist: