AlinsRan commented on code in PR #12649:
URL: https://github.com/apache/apisix/pull/12649#discussion_r2556155928


##########
apisix/plugins/grpc-transcode/response.lua:
##########
@@ -132,6 +173,9 @@ return function(ctx, proto, service, method, pb_option, 
show_status_in_body, sta
         return err_msg
     end
 
+    local array_names = fetch_proto_array_names(proto)

Review Comment:
   We can cache it without having to reprocess it every time a request is made.
   
https://github.com/apache/apisix/blob/7816e92bc77f2f2fb5dfddc9d4e6789245cdee3e/apisix/plugins/grpc-transcode/proto.lua#L124



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

Reply via email to