Skip to content

Lost NotifyDeleted()/NotifyTruncated()/NotifyModified() Signals #98

@arunmathew88

Description

@arunmathew88

Current code misses the NotifyDeleted()/NotifyTruncated()/NotifyModified() signals if the other end of the channel is busy processing somethings else. Changing the channels [https://github.com/hpcloud/tail/blob/v1.0.0/watch/filechanges.go#L4] into buffered channel of size 1 ensures that one consolidated instance for each of these signals are retained till the other end is frees up for processing.

Possibly Fixes
Issue #94
Issue #21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions