reduce LIMIT_LATEST_TXS_PER_ACCOUNT

This commit is contained in:
GroovieGermanikus 2024-02-02 20:01:02 +01:00
parent 99427a9253
commit 64c8e23ad7
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
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 =