feat(devops): adjust debug comment (#6)

drew/english
mrh997 1 year ago committed by GitHub
parent 134df1d441
commit 91b80e073c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -32,7 +32,7 @@ import (
func main() {
ctx := context.Background()
// init eino devops server
// Init eino devops server
err := devops.Init(ctx)
if err != nil {
logs.Errorf("[eino dev] init failed, err=%v", err)
@ -44,11 +44,11 @@ func main() {
graph.RegisterSimpleGraph(ctx)
graph.RegisterSimpleStateGraph(ctx)
// This part has nothing to do with eino devops debugging, just wanting the demo service exits only when the user actively closes the process.
// Blocking process exits
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
<-sigs
// exit
// Exit
logs.Infof("[eino dev] shutting down\n")
}

Loading…
Cancel
Save