jerrypeng opened a new pull request #9005:
URL: https://github.com/apache/pulsar/pull/9005


   
   ### Motivation
   
   Operations in regards to stats can happen out of band of the main function 
thread.  Currently, all stats operations for a function instance are 
unnecessarily synchronized with setup() and close().  This may cause function 
metrics REST API calls and jetty threads to be blocked when an instance is 
initializing/setup.
   
   
   ### Modifications
   
   Remove synchronization on JavaInstanceRunnable and use separate locks.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to