Browse Source
Merge pull request #283 from wjf222/main
fix omit type chan branchStatus #282
pull/284/head
yedf2
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dtmsvr/svr.go
|
|
|
@ -93,7 +93,7 @@ func PopulateDB(skipDrop bool) { |
|
|
|
|
|
|
|
// UpdateBranchAsyncInterval interval to flush branch
|
|
|
|
var UpdateBranchAsyncInterval = 200 * time.Millisecond |
|
|
|
var updateBranchAsyncChan chan branchStatus = make(chan branchStatus, 1000) |
|
|
|
var updateBranchAsyncChan = make(chan branchStatus, 1000) |
|
|
|
|
|
|
|
func updateBranchAsync() { |
|
|
|
flushBranchs := func() { |
|
|
|
|