Skip to content

Improve/geyser reconnect on error#270

Draft
grooviegermanikus wants to merge 3 commits intomainfrom
improve/geyser-reconnect-on-error
Draft

Improve/geyser reconnect on error#270
grooviegermanikus wants to merge 3 commits intomainfrom
improve/geyser-reconnect-on-error

Conversation

@grooviegermanikus
Copy link
Collaborator

NOTE: THIS IS A DRAFT

what's missing:

  • apply to slot stream
  • test it
  • add reconnect counter


## Fanout size and retries configuration
FANOUT_SIZE=32
FANOUT_SIZE=18
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you reduce ?

let mut last_finalized_slot: Slot = 0;
loop {
tokio::select! {
confirmed_block = confirmed_blocks_stream.next() => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel the streams are not working well, the performance issues that I found was related to stream when I moved back to channel it is not working very well. May be thing that you can check on your side.

.await;

log::trace!("glb {blockhash} {slot} {block_height}");
info!("glb {blockhash} {slot} {block_height}");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why info no need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants