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/09 19:59:36 UTC

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

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


##########
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:
   Should enhance the PaymentTypeWriteServiceImpl to invalidate the cache entries



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