You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "xiaoxuanzi (via GitHub)" <gi...@apache.org> on 2023/02/07 02:47:34 UTC
[GitHub] [apisix] xiaoxuanzi commented on a diff in pull request #8786: feat(batch-processor): enhance batch processor: support entries_max_size
xiaoxuanzi commented on code in PR #8786:
URL: https://github.com/apache/apisix/pull/8786#discussion_r1098119696
##########
apisix/utils/batch-processor.lua:
##########
@@ -200,10 +202,19 @@ function batch_processor:push(entry)
end
self.last_entry_t = now()
+ local entry_size = #entry
Review Comment:
Yes, sometimes we want to include request body or response body in the log.
Request body or response body may be large size.
--
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