endless
endless copied to clipboard
Zero downtime restarts for go servers (Drop in replacement for http.ListenAndServe)
a process is running , then i modified some code ,then, i try to build it again. and it shows the error msg above. i know the reason, but, i...
Support Http2.0
func (c *Cmd) Run() error { if err := c.Start(); err != nil { return err } return c.Wait() // if execute the command fails,return error } I use endless...
Change to log hammer message only when actually hammered. Before this change, hammer message is confusing when parent process is already STATE_TERMINATE and doing another job after Serve.
modify example handler func name
- Avoid zombie processes, There is no wait subprocess state, which may lead to zombie process in subprocesses. - Active termination to eliminate http.Serve error messages
I want to make a struct like this: ``` type App struct { Server *endless.endlessServer Router *gin.Engine } func (a *App) Initialize(config *config.Config) { a.Server = endless.NewServer(fmt.Sprintf(":%d", a.Config.Server.Port), a.Router) }...
i found `endless` uses `syscall.SIGUSR1`,`syscall.SIGUSR2`,`syscall.SIGTSTP`,`syscall.Kill`, these things are not defined on Go 1.6.2 on windows. so codes using `endless` can not even be compiled. endless: 2cdc20a776897c0f406853c048c33e2c1a9f0ebf would you please fix...