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 6f3893e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/temp-branch-build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Branch - Build and push docker image
on:
push:
branches:
- "feat/even-odd-import-from-s3"
- "staging-fill-db-size"

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
Expand Down
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 6f3893e

Please sign in to comment.