一个简单demo展示应用接口使用goroutine优雅退出
摘要:package main import ( "context" "errors" "log" "net/http" "sync" "time" ) type Tracker struct { wg sync.WaitGroup } type App struct { track Tracker }
阅读全文
posted @ 2022-03-08 15:48
posted @ 2022-03-08 15:48
posted @ 2022-03-08 15:19
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 29 | |||
30 | 31 | 1 | 2 | 3 | 4 | 5 |
这种情况直接更改deployment的更新模式不行么 ,用recreate
写给直接看的吧
Powered by:
博客园
Copyright © 2025 biwentao
Powered by .NET 9.0 on Kubernetes