mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
Increase log broadcast channel size.
This commit is contained in:
parent
faa735c1bb
commit
afff3bda2a
@ -21,7 +21,8 @@ use tokio::sync::{oneshot, RwLock};
|
|||||||
const RETRY_WAIT_MS: u64 = 500;
|
const RETRY_WAIT_MS: u64 = 500;
|
||||||
|
|
||||||
// A RPC query can return at most 10000 entries.
|
// A RPC query can return at most 10000 entries.
|
||||||
const BROADCAST_CHANNEL_CAPACITY: usize = 10000;
|
// Each tx has less than 10KB, so the cache size should be acceptable.
|
||||||
|
const BROADCAST_CHANNEL_CAPACITY: usize = 25000;
|
||||||
const CATCH_UP_END_GAP: u64 = 10;
|
const CATCH_UP_END_GAP: u64 = 10;
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user