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

Fix map concurrent bug #2509

Merged
merged 2 commits into from
Sep 13, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix map concurrent bug
  • Loading branch information
amyangfei committed Sep 9, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 5abbd96137ed71d428f04531a6c928f80e142895
2 changes: 1 addition & 1 deletion filebeat/crawler/crawler.go
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ func (crawler *Crawler) Start(files []config.ProspectorConfig, eventChan chan *i
}
continue
}
crawler.Registrar.state[event.Source] = event
crawler.Registrar.setState(event)
logp.Debug("prospector", "Registrar will re-save state for %s", event.Source)

if !crawler.running {