answergong

Results 6 comments of answergong

> 0100 is a number in base 8, therefore it means 64, not 100. thanks for your reply! in my code: a :="0100" the type of a is string ,so...

请问您的问题找到了吗? 我自己测试http服务,ctrl_c取消程序,也是直接退出,并没等正在处理程序的协程处理结束后再退出; 我看文档说,go zero的server.Start()方法会自动处理优雅重启的啊,没找到问题

> i try to use kill pid to shutdown the prigram,but it also can not grace shut down,it still shutdow right now

> What behaviors do you expect on graceful shutdown? > > It serves all the ongoing requests and exit? Do you have ongoing requests? thanks for you reply! i have...

> thanks, I understand what you mean, but I do have a ongoing request(sleep 60s). when I was released to terminate main.go, I thought he should wait for 60 s...

> There is a method `SetTimeToForceQuit`, but if too long, rolling update will take too much time. I don't think my problem is that I have reached the maximum forced...