You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vault: poll for DKG result in NewReportingPlugin (~12s startup speedup) (#21710)
vault: poll for DKG result in NewReportingPlugin instead of failing immediately
When the vault OCR3.1 oracle starts before DKG completes, NewReportingPlugin
fails because the DKG result package is not yet in the database. This triggers
libocr exponential backoff (1s, 2s, 4s, 8s... up to 2min), wasting ~12s even
after the DKG result becomes available.
Add pollForKeyMaterial() that polls the DB every 2s within the
MaxDurationInitialization context window (10s). The vault oracle now starts
within seconds of DKG completion instead of waiting for the next retry cycle.
Made-with: Cursor
0 commit comments