Skip to content

Commit

Permalink
feat(keychain-sdk): link pending requests fetch interval to batch int…
Browse files Browse the repository at this point in the history
…erval
  • Loading branch information
Pitasi committed Jun 26, 2024
1 parent 3325b0b commit 7cb0c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keychain-sdk/key_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (a *App) ingestKeyRequests(keyRequestsCh chan *wardentypes.KeyRequest) {
}
}

time.Sleep(5 * time.Second)
time.Sleep(a.config.BatchInterval / 2)
}
}

Expand Down
2 changes: 1 addition & 1 deletion keychain-sdk/sign_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (a *App) ingestSignRequests(signRequestsCh chan *wardentypes.SignRequest) {
}
}

time.Sleep(5 * time.Second)
time.Sleep(a.config.BatchInterval / 2)
}
}

Expand Down

0 comments on commit 7cb0c39

Please sign in to comment.