From 4113b97a8ec5fddfedc8bc27d0d2da229f44ee0e Mon Sep 17 00:00:00 2001 From: danielle-tfh Date: Tue, 14 Jan 2025 15:47:44 +0100 Subject: [PATCH] [temp] stage increase DB size in staging --- iris-mpc/src/bin/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris-mpc/src/bin/server.rs b/iris-mpc/src/bin/server.rs index 2ba9c657c..760d67cb7 100644 --- a/iris-mpc/src/bin/server.rs +++ b/iris-mpc/src/bin/server.rs @@ -726,7 +726,7 @@ async fn server_main(config: Config) -> eyre::Result<()> { // Seed the persistent storage with random shares if configured and db is still // empty. - if store_len == 0 && config.init_db_size > 0 { + if config.init_db_size > 0 && store_len < config.init_db_size { tracing::info!( "Initialize persistent iris DB with {} randomly generated shares", config.init_db_size