feat: update Dockerfile and README for TTS service setup and usage instructions

This commit is contained in:
王锦强
2025-03-09 13:49:32 +08:00
parent e309375c49
commit 9cf173946d
5 changed files with 107 additions and 26 deletions

View File

@@ -66,8 +66,6 @@ func (a *App) Start() error {
case err := <-errChan:
return err
case <-quit:
log.Println("接收到退出信号,正在优雅关闭...")
// 创建一个超时上下文用于优雅关闭
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()