mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Optimizing scripts
This commit is contained in:
parent
19a857fb51
commit
8a24219a07
@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
go func() {
|
go func() {
|
||||||
<-time.After(1 * time.Minute)
|
time.Sleep(30 * time.Second)
|
||||||
panic("Panic after one minute!")
|
panic("Panic after one minute!")
|
||||||
}()
|
}()
|
||||||
apiCmd := cmd.NewApiCmd(cmd.ApiServer)
|
apiCmd := cmd.NewApiCmd(cmd.ApiServer)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user