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

Graceful Shutdown Errors #300

Open
mgpai22 opened this issue Jan 12, 2025 · 1 comment
Open

Graceful Shutdown Errors #300

mgpai22 opened this issue Jan 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mgpai22
Copy link

mgpai22 commented Jan 12, 2025

I try to stop the pipeline but my program crashes

    if err := i.pipeline.Stop(); err != nil {
        logger.Errorf("failed to stop pipeline: %s", err)
        os.Exit(1)
    }
panic: close of closed channel

goroutine 240 [running]:
github.com/blinklabs-io/adder/pipeline.(*Pipeline).Stop(0xc00049eaf0)
        go/pkg/mod/github.com/blinklabs-io/adder@v0.25.1/pipeline/pipeline.go:110 +0x25

image

my use case is that I detect something is out of sync. So I want to restart the indexer instance to start back from an old intercept point.

@wolf31o2 wolf31o2 added the bug Something isn't working label Jan 23, 2025
@wolf31o2
Copy link
Member

This may be related to #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants