save tsdb less often
This commit is contained in:
parent
f15f1027cf
commit
95bf1db01e
@ -61,7 +61,7 @@ async fn test_single_proxy_stats_add_up() {
|
||||
assert_eq!(user_1_balance_pre, Decimal::from(2000));
|
||||
|
||||
// Generate the proxies
|
||||
let number_requests = 1000;
|
||||
let number_requests = 100;
|
||||
let mut handles = Vec::new();
|
||||
|
||||
// Get the RPC key from the user
|
||||
|
@ -16,7 +16,7 @@ async fn test_two_buffers() {
|
||||
let influxdb_bucket = Some(i.bucket.clone());
|
||||
let influxdb_client = Some(i.client.clone());
|
||||
let rpc_secret_key_cache = Cache::builder().build();
|
||||
let tsdb_save_interval_seconds = 1;
|
||||
let tsdb_save_interval_seconds = 30;
|
||||
let user_balance_cache: UserBalanceCache = Cache::builder().build().into();
|
||||
|
||||
let (shutdown_sender, shutdown_receiver_1) = broadcast::channel(1);
|
||||
|
Loading…
Reference in New Issue
Block a user