diff options
author | MS <ms@taler.net> | 2023-04-16 09:19:46 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2023-04-16 10:13:54 +0200 |
commit | d7cecd35a5f7ab3ab2491e4c4ad4f07e041e9944 (patch) | |
tree | 56ab7ef93a92a0f3f743c53c10ec56db9425f37b /util/src/main/kotlin/DB.kt | |
parent | 1602c0b6cd3cad8d8b8f14d68f509842e72146b6 (diff) | |
download | libeufin-d7cecd35a5f7ab3ab2491e4c4ad4f07e041e9944.tar.gz libeufin-d7cecd35a5f7ab3ab2491e4c4ad4f07e041e9944.tar.bz2 libeufin-d7cecd35a5f7ab3ab2491e4c4ad4f07e041e9944.zip |
Conversion service.
Implementing the cash-out monitor. The monitor watches one
particular bank account (the admin's by default) and submits
a fiat payment initiation to Nexus upon every new incoming
transaction.
Also implementing idempotence for payment initiations at Nexus.
This helps in case the cash-out monitor fails at keeping track
of the submitted payments and accidentally submits multiple times
the same payment.
Diffstat (limited to 'util/src/main/kotlin/DB.kt')
-rw-r--r-- | util/src/main/kotlin/DB.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/main/kotlin/DB.kt b/util/src/main/kotlin/DB.kt index b0dcec9a..41e2a9d7 100644 --- a/util/src/main/kotlin/DB.kt +++ b/util/src/main/kotlin/DB.kt @@ -157,7 +157,7 @@ class PostgresListenHandle(val channelName: String) { "'$channelName' for $timeoutMs millis.") val maybeNotifications = this.conn.getNotifications(timeoutMs.toInt()) if (maybeNotifications == null || maybeNotifications.isEmpty()) { - logger.debug("DB notification channel $channelName was found empty.") + logger.debug("DB notifications not found on channel $channelName.") this.likelyCloseConnection() return false } |