From d61598d5164c3ff1081fb45f226c208f87f581a3 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 2 May 2022 17:06:56 +0800 Subject: [PATCH] fix omit type chan branchStatus --- dtmsvr/svr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtmsvr/svr.go b/dtmsvr/svr.go index 166d777..eb5c221 100644 --- a/dtmsvr/svr.go +++ b/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() {