From 348c454780a5220691ccdc4a5582b0e6b547c279 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Thu, 11 Jan 2024 18:14:54 +0100 Subject: [PATCH] reduce LIMIT_LATEST_TXS_PER_ACCOUNT to 100 --- src/postgres.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postgres.rs b/src/postgres.rs index 9c8b485..185c6ca 100644 --- a/src/postgres.rs +++ b/src/postgres.rs @@ -30,7 +30,7 @@ use crate::{ }; const BLOCK_WRITE_BUFFER_SIZE: usize = 5; -const LIMIT_LATEST_TXS_PER_ACCOUNT: i64 = 1000; +const LIMIT_LATEST_TXS_PER_ACCOUNT: i64 = 100; pub struct TempTableTracker { count: AtomicU64,