app start as Goroutine basically working
This commit is contained in:
parent
c6aa6afae2
commit
7d8d9abe54
1 changed files with 1 additions and 5 deletions
|
@ -13,11 +13,7 @@ import (
|
|||
)
|
||||
|
||||
func Start(ctx common.Context) {
|
||||
ctx.WaitGroup().Add(1)
|
||||
go func() {
|
||||
scopes.Start(ctx)
|
||||
ctx.WaitGroup().Done()
|
||||
}()
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue