summaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 12:30:31 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 12:30:31 +0100
commit31746d812837b64e1c6ba345efd6d59764e0c4dc (patch)
tree6d7f32bd5f1207161c4fd8c5c93697beb68823b0 /src/auditor/taler-helper-auditor-coins.c
parent13bbcef87b7a88344aa09922205932a80dd610ac (diff)
downloadexchange-31746d812837b64e1c6ba345efd6d59764e0c4dc.tar.gz
exchange-31746d812837b64e1c6ba345efd6d59764e0c4dc.tar.bz2
exchange-31746d812837b64e1c6ba345efd6d59764e0c4dc.zip
enable test 32
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index b292da8b..8cf8ce5b 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -31,14 +31,11 @@
#include "report-lib.h"
/**
- * How many coin histories do we keep in RAM at any given point in
- * time? Used bound memory consumption of the auditor. Larger values
- * reduce database accesses.
- *
- * Set to a VERY low value here for testing. Practical values may be
- * in the millions.
+ * How many coin histories do we keep in RAM at any given point in time?
+ * Expect a few kB per coin history to be used. Used bound memory consumption
+ * of the auditor. Larger values reduce database accesses.
*/
-#define MAX_COIN_HISTORIES 4
+#define MAX_COIN_HISTORIES (16 * 1024 * 1024)
/**
* Use a 1 day grace period to deal with clocks not being perfectly synchronized.