summaryrefslogtreecommitdiff
path: root/contrib/bank.conf
diff options
context:
space:
mode:
authorAntoine A <>2024-03-20 18:03:20 +0100
committerAntoine A <>2024-03-20 18:03:20 +0100
commita047fb5c1076c0afe2c04c8beb2edd6026f595b3 (patch)
treeb874694a0858f4fe6a0a8fe43557080ef407de8d /contrib/bank.conf
parent97963f2b5c5fc520705a5f2f6283d6483b7585d3 (diff)
downloadlibeufin-a047fb5c1076c0afe2c04c8beb2edd6026f595b3.tar.gz
libeufin-a047fb5c1076c0afe2c04c8beb2edd6026f595b3.tar.bz2
libeufin-a047fb5c1076c0afe2c04c8beb2edd6026f595b3.zip
Add GC command
Diffstat (limited to 'contrib/bank.conf')
-rw-r--r--contrib/bank.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/bank.conf b/contrib/bank.conf
index 29239e1e..372143e6 100644
--- a/contrib/bank.conf
+++ b/contrib/bank.conf
@@ -70,7 +70,16 @@ BIND_TO = 0.0.0.0
SPA = $DATADIR/spa/
# Exchange that is suggested to wallets when withdrawing.
-#SUGGESTED_WITHDRAWAL_EXCHANGE = https://exchange.demo.taler.net/
+# SUGGESTED_WITHDRAWAL_EXCHANGE = https://exchange.demo.taler.net/
+
+# Time after which pending operations are aborted
+GC_ABORT_AFTER = 15m
+
+# Time after which aborted operations and expired items are deleted
+GC_CLEAN_AFTER = 14d
+
+# Time after which all bank transactions, operations and deleted accounts are deleted
+GC_DELETE_AFTER = 10year
[libeufin-bankdb-postgres]
# Where are the SQL files to setup our tables?