Skip to content

Conversation

@SuperFluffy
Copy link
Contributor

Summary

Conductor attempts to subscribe to the sequencer with a constant backoff instead of failing after the first attempt.

Background

Conductor was unnecessarily flaky - instead of trying to resubscribe repeatedly it failed instantly.

Changes

  • Remove the exit condition from the sequencer reader on a failed resubscription to new blocks
  • Try to repeatedly resubscribe to new blocks with a constant backoff of 10 seconds.

Testing

Tested on devnet

@SuperFluffy SuperFluffy requested a review from a team October 13, 2023 21:21
@github-actions github-actions bot added conductor pertaining to the astria-conductor crate sequencer pertaining to the astria-sequencer crate labels Oct 13, 2023
@SuperFluffy SuperFluffy merged commit 1463e14 into main Oct 13, 2023
@SuperFluffy SuperFluffy deleted the superfluffy/dont-exit-on-failed-resubscribe branch October 13, 2023 21:54
steezeburger added a commit that referenced this pull request Oct 13, 2023
* main:
  release(conductor): 0.7.0 (#502)
  conductor: resubscribe with backoff instead of failing (#501)
  conductor: spawn driver as task and report exit (#500)
  conductor: never recycle websocket clients (#499)
  use fork of tendermint with backported reqwest client (#498)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conductor pertaining to the astria-conductor crate sequencer pertaining to the astria-sequencer crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants