cloudflare / tableflip

Graceful process restarts in Go
BSD 3-Clause "New" or "Revised" License
2.91k stars 148 forks source link

Enable SO_REUSEPORT #46

Closed john-cai closed 3 years ago

john-cai commented 4 years ago

We currently have an issue when switching from localhost:9236 to 0.0.0.0:9236: https://gitlab.com/gitlab-org/gitaly/-/issues/2521

The solution is to enable SO_REUSEPORT on linux so the upgrading process can bind to the same port if need be.

lmb commented 3 years ago

I think this is covered now with ListenConfig being supported.