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

Feature/integrate influxdata #29

Merged
merged 2 commits into from
Aug 4, 2020
Merged

Conversation

sillygod
Copy link
Owner

@sillygod sillygod commented Aug 4, 2020

Purpose

write cache relevant endpoints' tests and fix the broken expire mechanism

@@ -18,19 +22,43 @@ type influxWriteCloser struct {
api influxdb2api.WriteAPI
}

func (i *influxWriteCloser) Write(b []byte) (int, error) {
func (i *influxWriteCloser) write(b []byte) (int, error) {
// TODO: consider to do this in background worker
Copy link

Choose a reason for hiding this comment

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

TODO found

"strings"
)

var LogUTCTimeFormat = "2006/01/02 15:04:05"
Copy link

Choose a reason for hiding this comment

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

exported var LogUTCTimeFormat should have comment or be unexported

@codeclimate
Copy link

codeclimate bot commented Aug 4, 2020

Code Climate has analyzed commit 7c93da9 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Bug Risk 1
Style 1

The test coverage on the diff in this pull request is 93.3% (30% is the threshold).

This pull request will bring the total coverage in the repository to 78.8% (28.0% change).

View more on Code Climate.

@sillygod sillygod merged commit bb26e6c into master Aug 4, 2020
@sillygod sillygod deleted the feature/integrate_influxdata branch August 4, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant