apisix
apisix copied to clipboard
bugfix: resolution when apisix reload eureka does not load the data
Description
https://github.com/apache/apisix/issues/7178
Fixes # (issue)
Checklist
- [x] I have explained the need for this PR and the problem it solves
- [x] I have explained the changes or the new features added to this PR
- [x] I have added tests corresponding to this change
- [x] I have updated the documentation to reflect this change
- [x] I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)
In the init and init_worker phases, we can't use lua-resty-http
, so we use luasocket
.
But we don't need to replace the runtime procedure that uses lua-resty-http
.
In the init and init_worker phases, we can't use
lua-resty-http
, so we useluasocket
. But we don't need to replace the runtime procedure that useslua-resty-http
.
This method is public at init and runtime.
This method is public at init and runtime.
I don't know what this means.
But replacing all lua-resty.http
with luasocket
is not acceptable. luasocket
is a blocking call.
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the [email protected] list. Thank you for your contributions.
This pull request/issue has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.