Skip to content

Promtail remove file watch code and only rely on periodic sync? #311

Closed
@slim-bean

Description

After adding the periodic sync function in #293, the fsnotify.Watcher code is more or less redundant and adds complexity, I think we could probably remove it.

This would result in a delay before new files would be sent based on what they polling rate of the new sync function is, e.g. up to 10 seconds in the worst case if the sync function polling interval was set to 10 seconds, though nominally the delay would be around 1/2 the sync delay.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions