Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sync): extend wait time for RPC layer initialization (#13939)
When we start up DP, we need to make a meta call to CP first, so the first `do_sync` during the initial sync fails. It reports an ERR error: `rpc.lua:432: unable to create worker mutex and sync: rpc is not ready`. This experience is not ideal. The initialization of the configuration also fails, and we have to wait for ourselves to wait 30 seconds (`sync_every(30s)`) before the configuration can sync successfully. This means that the DP will be unable to function for a period of time after connecting. https://konghq.atlassian.net/browse/KAG-5922
- Loading branch information
a87e708
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available
kong/kong:a87e7087646ae19c892101d4bfadaf62354500ff
Artifacts available https://github.com/Kong/kong/actions/runs/12079764267