You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2022/09/10 13:53:19 UTC

[GitHub] [fineract] galovics commented on a diff in pull request #2585: Batch API read optimization + minor changes

galovics commented on code in PR #2585:
URL: https://github.com/apache/fineract/pull/2585#discussion_r967656089


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/paymenttype/service/PaymentTypeReadPlatformServiceImpl.java:
##########
@@ -41,6 +42,7 @@ public PaymentTypeReadPlatformServiceImpl(final PlatformSecurityContext context,
     }
 
     @Override
+    @Cacheable(value = "payment_types", key = "T(org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil).getTenant().getTenantIdentifier().concat('payment_types')")

Review Comment:
   Good point, now the cahce is getting evicted.



-- 
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: commits-unsubscribe@fineract.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org