You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "spacewander (via GitHub)" <gi...@apache.org> on 2023/03/10 02:18:43 UTC
[GitHub] [apisix] spacewander commented on a diff in pull request #9016: fix: the problem of high cpu and memory usage (#9015)
spacewander commented on code in PR #9016:
URL: https://github.com/apache/apisix/pull/9016#discussion_r1131882416
##########
apisix/upstream.lua:
##########
@@ -140,6 +150,8 @@ local function create_checker(upstream)
healthcheck_parent.checker_idx =
core.config_util.add_clean_handler(healthcheck_parent, release_checker)
+ upstream.is_creating_checker = nil
Review Comment:
We should also reset it when this function exits with nil
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org