sebgott commented on issue #12662: URL: https://github.com/apache/apisix/issues/12662#issuecomment-3558064030
I tested out @Falven proposed solution, but I could not get apisix running with this in standalone api-driven mode. I got it working by force loading the config. I have not been able to continue testing in my OpenShift environment as I have encountered a separate issue desribed here https://github.com/apache/apisix-ingress-controller/issues/2656 ```lua _M.init_worker = function() sync_status_to_shdict(false) if is_use_admin_api() then apisix_yaml = {} apisix_yaml_mtime = 0 update_config(apisix_yaml, apisix_yaml_mtime) -- mark ready for admin API return true end -- force load config if not already loaded if not apisix_yaml then read_apisix_config() end ngx.timer.every(1, read_apisix_config) -- mark worker as healthy immediately if apisix_yaml then update_config(apisix_yaml, apisix_yaml_mtime) end return true end ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
