diff --git a/src/supplemental/nanolib/conf.c b/src/supplemental/nanolib/conf.c index 9781f4e66..81dba7bf1 100644 --- a/src/supplemental/nanolib/conf.c +++ b/src/supplemental/nanolib/conf.c @@ -1141,7 +1141,7 @@ print_webhook_conf(conf_web_hook *webhook) const char *encode_type = get_webhook_type(webhook->encode_payload); log_info("webhook encoding: %s", encode_type); - log_info("webhook poll size: %d", webhook->pool_size); + log_info("webhook pool size: %d", webhook->pool_size); log_info("webhook rule:"); for (size_t i = 0; i < webhook->rule_count; i++) { conf_web_hook_rule *rule = webhook->rules[i]; diff --git a/src/supplemental/nanolib/conf_ver2.c b/src/supplemental/nanolib/conf_ver2.c index a65693aa9..f37d4e6c6 100644 --- a/src/supplemental/nanolib/conf_ver2.c +++ b/src/supplemental/nanolib/conf_ver2.c @@ -605,6 +605,7 @@ conf_webhook_parse_ver2(conf *config, cJSON *jso) hocon_read_enum_base(webhook, encode_payload, "body.encoding", jso_webhook, webhook_encoding); + hocon_read_num_base(webhook, pool_size, "pool_size", jso_webhook); cJSON *jso_webhook_tls = hocon_get_obj("ssl", jso_webhook); conf_tls *webhook_tls = &(webhook->tls);