reduce LIMIT_LATEST_TXS_PER_ACCOUNT (#54)

This commit is contained in:
Groovie | Mango 2024-02-03 09:19:10 +01:00 committed by GitHub
parent 99427a9253
commit 9ca22c9a46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ use crate::{
};
const BLOCK_WRITE_BUFFER_SIZE: usize = 5;
const LIMIT_LATEST_TXS_PER_ACCOUNT: i64 = 100;
// requires 125.000.000 * 8 bytes * LIMIT_LATEST_TXS_PER_ACCOUNT
const LIMIT_LATEST_TXS_PER_ACCOUNT: i64 = 100+20;
lazy_static::lazy_static! {
static ref ACCOUNTS_SAVING_QUEUE: IntGauge =