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/02/07 02:15:06 UTC

[GitHub] [apisix] spacewander commented on a diff in pull request #8786: feat(batch-processor): enhance batch processor: support entries_max_size

spacewander commented on code in PR #8786:
URL: https://github.com/apache/apisix/pull/8786#discussion_r1098104473


##########
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:
   The entry here is usually an object. Is there any real-world use case for this feature?



-- 
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