Commit f4eeba74 authored by iamhujiebin's avatar iamhujiebin

feat:4个进程处理

parent 1c13f8e5
...@@ -47,6 +47,7 @@ func OnMicCheck() { ...@@ -47,6 +47,7 @@ func OnMicCheck() {
} }
func OnMicQueue() { func OnMicQueue() {
for i := 0; i < 4; i++ {
go func() { go func() {
for true { for true {
model := domain.CreateModelNil() model := domain.CreateModelNil()
...@@ -67,4 +68,5 @@ func OnMicQueue() { ...@@ -67,4 +68,5 @@ func OnMicQueue() {
} }
} }
}() }()
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment