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

Ability to filter reported channels #19

Merged
merged 9 commits into from
Dec 20, 2022
Merged

Ability to filter reported channels #19

merged 9 commits into from
Dec 20, 2022

Conversation

fiksn
Copy link
Contributor

@fiksn fiksn commented Dec 16, 2022

No description provided.

@fiksn fiksn requested a review from satoshisound December 16, 2022 14:23
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
filter/interface.go Outdated Show resolved Hide resolved
filter/filter_test.go Show resolved Hide resolved
filter/filter.go Outdated Show resolved Hide resolved
@fiksn fiksn requested a review from dcrystalj December 19, 2022 12:00
}
}()
code := <-exit_chan
os.Exit(code)
Copy link
Contributor

Choose a reason for hiding this comment

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

For long term plan I dont like this. When we will have multiple go routines this will be problematic for gracefull shutdown.

I think go routines should return error and in main() we wait for error so we can initiate gracefull shutdown for other routines. So signal handling shoud be directly in main()

filter/filter.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@fiksn fiksn merged commit b9c8122 into main Dec 20, 2022
@fiksn fiksn deleted the filter branch December 20, 2022 18:30
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