Merge pull request '1231231' (#484) from feat-IRONFANS-133-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/484
This commit is contained in:
chenhao 2024-05-24 00:04:30 +08:00
commit e8aa3b20c5
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func StartOfflineHttpServer(srv *http.Server, cfg *configcenter.DefaultConfig) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()
if err := srv.Shutdown(ctx); err != nil {
log.Fatal("Server Shutdown:", err)
logger.Fatal("Server Shutdown:", err)
}
select {