forked from Kong/kong
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core) random seeding fix (Kong#1824)
* fix(core) random seeding fix, do not rely on first call being in `init_worker` * added safety measure to not re-run the patches * remove double invocation of patches * updated log messages to be consistent
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
#!/usr/bin/env resty | ||
|
||
require("kong.core.globalpatches")({ | ||
cli = true | ||
}) | ||
|
||
package.path = "?/init.lua;"..package.path | ||
|
||
require("kong.cmd.init")(arg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters