From 5d56bb0e372af3be8fad1c00380d74999f93d9ee Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Thu, 16 Jan 2025 17:25:45 +0800 Subject: [PATCH] fix comment --- kong/db/schema/others/declarative_config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kong/db/schema/others/declarative_config.lua b/kong/db/schema/others/declarative_config.lua index 216841362ee..5560d42cdef 100644 --- a/kong/db/schema/others/declarative_config.lua +++ b/kong/db/schema/others/declarative_config.lua @@ -1028,7 +1028,9 @@ function DeclarativeConfig.load(plugin_set, vault_set, include_foreign, is_sync) return nil, err end - -- Pre-load full schema to validate schema for sync.v2: + -- Pre-load the full schema to validate the schema for sync.v2. Lazy loading + -- the full schema with DeclarativeConfig.load() will consume a lot of time + -- due to load_plugin_subschemas(). local full_schema if is_sync then