1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-10 20:30:54 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Ming Deng
f5c580a403
Merge pull request #3739 from nuczzz/develop
fix graceful bug: old process didn't exist when graceful restart
2020-06-23 00:10:53 +08:00
liminggui
8e29300f85 fix graceful bug 2020-06-09 12:20:08 +08:00
nuczzz
32cd76396d fix graceful bug 2019-07-27 18:54:13 +08:00
hellomrlee
aba51d99a1 spelling mistake of word "Header" 2019-03-04 11:05:29 +08:00
nuczzz
fe519bd2a0 update tls KeepAlive setting 2019-01-20 11:17:10 +08:00
nuczzz
e295c3c7c3 add shutdown log 2019-01-18 19:50:22 +08:00
nuczzz
313be996cd call cancel after shutdown 2019-01-18 19:33:45 +08:00
nuczzz
7173fd7490 modify http graceful 2019-01-17 20:17:57 +08:00
sanghee
bf15535a5b fix panic: sync: negative WaitGroup counter 2019-01-03 22:44:32 +09:00
BorisBorshevsky
df37739c7d fix golint comments 2017-11-25 19:18:37 +02:00
astaxie
a30a89e57e
Merge pull request #2849 from iclinux/grace-patch
Make parent process exit gracefully.
2017-11-19 11:09:13 +08:00
lotus
3872382a4b 1.Add Mutual HTTPS Option! 2017-11-15 22:42:30 +08:00
iclinux
1dd50fb65f Make parent process exit gracefully.
With beego.BConfig.Listen.Graceful  enabled, when received SIGHUP, we'll fork a child process.
But the parent process still have jobs to finish, So we can't kill the parent process directly.
2017-09-05 11:53:42 +08:00
astaxie
4fc95b0d69 gofmt and golint 2017-07-19 00:52:27 +08:00
huwenbo
2b00b7d66d fix panic: sync: negative WaitGroup counter 2017-06-13 20:15:43 +08:00
huwenbo
3d9286f089 fix panic: sync: negative WaitGroup counter 2017-06-13 15:34:57 +08:00
huwenbo
55e6c15073 fix panic: sync: negative WaitGroup counter 2017-06-13 15:19:51 +08:00
astaxie
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
Faissal Elamraoui
bf6bd6b292 Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
2017-04-23 19:19:05 +02:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
Faissal Elamraoui
eb50221a15 Added method to register Pre/Post signal handlers 2016-12-06 13:48:31 +01:00
Faissal Elamraoui
fc4801494d Added hookable signals 2016-12-06 13:48:31 +01:00
astaxie
0382146c60 fix the go vet for go tip 2016-01-29 13:11:11 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
astaxie
f7ef4aa7e5 recover for conn.Close fix #1333 2016-01-04 23:34:45 +08:00
astaxie
9f2a2507fd fmt it and remove the init var 2015-12-09 23:47:44 +08:00
nkbai
e8fe859a58 格式调整 2015-12-09 09:03:10 +08:00
nkbai
74ebcd28b2 grace init中的工作可以延后进行
实际上如果没有使用graceful启动,这些init的工作完全没用
当然其他模块也应该存在这样的工作,比如session中的sess_utils.go中的init工作
2015-11-30 16:15:35 +08:00
astaxie
65fb7ce391 golint grace 2015-09-10 16:35:40 +08:00
tabalt
99b1c5c54b fixed mux1 to mux 2015-08-21 10:53:59 +08:00
astaxie
3abd01799d split into small files 2015-05-27 23:46:45 +08:00
astaxie
ae37689314 fix #1176 grace support windows 2015-05-27 23:22:05 +08:00
astaxie
d56491ab3a sync beeApp.Server to graceful 2015-05-25 09:10:38 +08:00
astaxie
4138fe0217 beego suppot graceful restart application 2015-05-25 09:10:37 +08:00