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

accounts/keystore: replace inotify with fsnotify #26176

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Nov 14, 2022

Fixes #26168

This PR replaces github.com/rjeczalik/notify with github.com/fsnotify/fsnotify, the latter seemingly more maintained.

The latter also provides better granularity -- it would be possible to avoid large rescans, in cases where the user has thousands of files, and scans are slow. This PR doesn't change the behaviour, however, just tries to replace one with the other.

One thing that might we worth mentioning is that the old library was BYOC, bring-your-own-channel, meaning we could provide an event channel with some buffering. The new one doesn't have that.

@holiman holiman added this to the 1.11.0 milestone Nov 14, 2022
@holiman holiman merged commit e34e540 into ethereum:master Nov 14, 2022
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 9, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 9, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 9, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 10, 2025
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jan 11, 2025
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 14, 2025
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.

Remove or Replace Dependency on github.com/rjeczalik/notify
2 participants