Skip to content

Commit

Permalink
chore: upgrade otel, removed ut temporarily because of otel API chang…
Browse files Browse the repository at this point in the history
…es (#3795)
  • Loading branch information
kevwan authored Dec 17, 2023
1 parent 431f9af commit 83a776a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions core/proc/signals.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion core/service/servicegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (sg *ServiceGroup) Add(service Service) {
// Also, quitting this method will close the logx output.
func (sg *ServiceGroup) Start() {
proc.AddShutdownListener(func() {
logx.Info("Shutting down service in group")
logx.Info("Shutting down services in group")
sg.stopOnce()
})

Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

// BuildVersion is the version of goctl.
const BuildVersion = "1.6.0"
const BuildVersion = "1.6.1"

var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5}

Expand Down

0 comments on commit 83a776a

Please sign in to comment.