Skip to content

Commit

Permalink
Merge pull request nsqio#75 from youzan/optimize-code
Browse files Browse the repository at this point in the history
Optimize code
  • Loading branch information
absolute8511 authored Feb 23, 2019
2 parents d1a199f + 76b9b9d commit 3c0e1a8
Show file tree
Hide file tree
Showing 26 changed files with 1,238 additions and 579 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sudo: false
script:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
- travis_wait ./test.sh
- travis_wait 25 ./test.sh
notifications:
email: false

Expand Down
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

[[constraint]]
name = "github.com/youzan/go-nsq"
version = "1.3.1"
version = "1.3.2-HA"

[[constraint]]
branch = "master"
Expand Down
1 change: 1 addition & 0 deletions apps/nsqd/nsqd.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func nsqdFlagSet(opts *nsqd.Options) *flag.FlagSet {
flagSet.Duration("queue-scan-refresh-interval", opts.QueueScanRefreshInterval, "scan refresh interval for new channels")
flagSet.Int("queue-scan-selection-count", opts.QueueScanSelectionCount, "select count for each scan")
flagSet.Int("queue-scan-worker-pool-max", opts.QueueScanWorkerPoolMax, "the max scan worker pool")
flagSet.Int("queue-topic-job-worker-pool-max", opts.QueueTopicJobWorkerPoolMax, "the max scan worker pool")
flagSet.Float64("queue-scan-dirty-percent", opts.QueueScanDirtyPercent, "retry scan immediately if dirty percent happened in last scan")
flagSet.Bool("allow-zan-test-skip", opts.AllowZanTestSkip, "allow zan test message filter in new created channel & channels under newly upgraded topic")
flagSet.Int("default-commit-buf", int(opts.DefaultCommitBuf), "the default commit buffer for topic data")
Expand Down
Loading

0 comments on commit 3c0e1a8

Please sign in to comment.