weizhouapache commented on pull request #5854:
URL: https://github.com/apache/cloudstack/pull/5854#issuecomment-1011058269


   @shwstppr 
   that's exactly what I mean.
   other than this, you can pass the value of "isEnabled()" to the method.
   each time when you call "isEnabled", it connects to cloudstack database. 
therefore there are more than 2000 db queries which are not needed.


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