mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
chore: upgrade otel, removed ut temporarily because of otel API changes (#3795)
This commit is contained in:
@@ -31,10 +31,7 @@ func init() {
|
||||
dumpGoroutines(fileCreator{})
|
||||
case syscall.SIGUSR2:
|
||||
profiler := StartProfile()
|
||||
go func() {
|
||||
<-time.After(profileDuration)
|
||||
profiler.Stop()
|
||||
}()
|
||||
time.AfterFunc(profileDuration, profiler.Stop)
|
||||
case syscall.SIGTERM:
|
||||
stopOnSignal()
|
||||
gracefulStop(signals, syscall.SIGTERM)
|
||||
|
||||
Reference in New Issue
Block a user