Skip to content

Commit

Permalink
[temp] stage increase DB size in staging
Browse files Browse the repository at this point in the history
  • Loading branch information
danielle-tfh committed Jan 14, 2025
1 parent ec14a0c commit 4113b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4113b97

Please sign in to comment.