Skip to content

Commit

Permalink
Merge pull request #2315 from constantine2nd/develop
Browse files Browse the repository at this point in the history
/Remove caching at the function getOrCreateMetadata
  • Loading branch information
simonredfern authored Nov 8, 2023
2 parents 2298f5b + ebc89e9 commit 66de497
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import scala.concurrent.duration._
// They are relevant somehow, but they are different data for now. Both data can be get by the following `MapperCounterparties` object.
object MapperCounterparties extends Counterparties with MdcLoggable {

val MetadataTTL = getSecondsCache("getOrCreateMetadata")
// TODO Rewrite caching function
val MetadataTTL = 0 // getSecondsCache("getOrCreateMetadata")

override def getOrCreateMetadata(bankId: BankId, accountId: AccountId, counterpartyId: String, counterpartyName:String): Box[CounterpartyMetadata] = {
/**
Expand Down

0 comments on commit 66de497

Please sign in to comment.