Skip to content

Commit

Permalink
Merge pull request #18 from Felixoid/workflow-go
Browse files Browse the repository at this point in the history
Update tests to use recent go
  • Loading branch information
Woellchen authored Oct 28, 2021
2 parents d2f7c42 + 56424db commit 2191d35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
go:
- ^1.13
- ^1.14
- ^1.15
- ^1.16
- ^1.17
- ^1
steps:

Expand Down
4 changes: 3 additions & 1 deletion graphite-ch-optimizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ func init() {
// setDefaultConfig sets default config parameters
func setDefaultConfig() {
viper.SetDefault("clickhouse", map[string]interface{}{
// See ClickHouse documentation for further options
// See ClickHouse documentation for further options.
// As well, take a look into README.md to see the difference between different timeout arguments,
// and why both of them are necessary.
"server-dsn": "tcp://localhost:9000?&optimize_throw_if_noop=1&receive_timeout=3600&debug=true&read_timeout=3600",
// Ignore partitions which were merged less than 3 days before
"optimize-interval": time.Duration(72) * time.Hour,
Expand Down

0 comments on commit 2191d35

Please sign in to comment.