10000 feat: store Connor's task logs by nikonov1101 · Pull Request #1390 · sonm-io/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: store Connor's task logs #1390

New issue

Have a question about this project? Sign up for a free GitHub account to op 8000 en 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

Merged
merged 1 commit into from
Sep 3, 2018
Merged

Conversation

nikonov1101
Copy link
Member

No description provided.

@nikonov1101 nikonov1101 added T: feature This PR/Issue adds a new feature P: HIGH This PR/Issue has the high priority V: patch This PR/Issue requires patch version to be bumped S: Connor This PR/Issue changes Connor labels Sep 1, 2018
@@ -121,6 +168,7 @@ func (m *commonLogProcessor) fetchLogs(ctx context.Context) error {
reader, writer := io.Pipe()

go m.logParser(ctx, m, reader)
go m.writeToFile(ctx, reader)
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like two routines are reading from the same reader

@nikonov1101 nikonov1101 force-pushed the feat/connor/store-task-logs branch from 401a974 to d9a9302 Compare September 3, 2018 17:35
@nikonov1101 nikonov1101 force-pushed the feat/connor/store-task-logs branch from d9a9302 to 6b9f9a6 Compare September 3, 2018 17:37
@nikonov1101 nikonov1101 merged commit 13d5e60 into master Sep 3, 2018
@nikonov1101 nikonov1101 deleted the feat/connor/store-task-logs branch September 3, 2018 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: HIGH This PR/Issue has the high priority S: Connor This PR/Issue changes Connor T: feature This PR/Issue adds a new feature V: patch This PR/Issue requires patch version to be bumped
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0