labbsr0x / whisper

A cloud-native Identity and OAuth Provider implemented with Golang and ORY Hydra
MIT License
12 stars 4 forks source link

Graceful shutdown #49

Closed VerasThiago closed 4 years ago

VerasThiago commented 4 years ago

Go 1.8 introduced the ability to gracefully shutdown a *http.Server (we can check here).

Instead of using a hard shutdown now we can use the graceful shutdown as shown in #48 PR.

eabili0 commented 4 years ago

Yes. Thanks, @VerasThiago!