| commit | 95b40a55a43ea34649e26c7a34fff96dcaee1690 | [log] [tgz] |
|---|---|---|
| author | Haoming Zhang <zhm1993zhm@gmail.com> | Thu Jun 22 17:13:28 2017 -0700 |
| committer | Haoming Zhang <zhm1993zhm@gmail.com> | Thu Jun 22 17:13:28 2017 -0700 |
| tree | fabe32bb4e6f534b32c4a23df534f4e7de46f866 | |
| parent | aa838a1fcfd9bd0e792572343b2f4b6e7c242b0e [diff] |
fix race condition of log
diff --git a/changes.go b/changes.go index 987c307..993613f 100644 --- a/changes.go +++ b/changes.go
@@ -98,8 +98,8 @@ return } - go pollWithBackoff(c.quitChan, c.pollChangeAgent, c.handleChangeServerError) log.Debug("pollChangeManager: pollChangeWithBackoff() started pollWithBackoff") + go pollWithBackoff(c.quitChan, c.pollChangeAgent, c.handleChangeServerError) }