Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: #217 - shouldn't wait SubmissionRetryInterval at the first iteration #227

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

bap2pecs
Copy link
Contributor

Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

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

Thanks! We probably need to do the same improve on the chain poller

@bap2pecs
Copy link
Contributor Author

Thanks! We probably need to do the same improve on the chain poller

good point. i just took a look and it seems there is the same problem. I won't have bandwidth to work on that, but feel free to create an issue to track.

func (cp *ChainPoller) pollChain() {
	defer cp.wg.Done()

	cp.waitForActivation()

	var failedCycles uint32

	for {
		select {
		case <-time.After(cp.cfg.PollInterval):

@bap2pecs bap2pecs merged commit df2b89b into main Dec 17, 2024
10 checks passed
@bap2pecs bap2pecs deleted the backport/fix-submission-loop branch December 17, 2024 02:04
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.

3 participants