nuts-foundation / nuts-go

Main service executable for service space. Configurable service that integrates various Nuts engines and allows to run nuts' service space as a monolith or as micro services.
GNU General Public License v3.0
3 stars 0 forks source link

Graceful shutdown #42

Open woutslakhorst opened 4 years ago

woutslakhorst commented 4 years ago

the current shutdown goes through echo, which results in a log.Fatal. echo can run in its own procedure while the main programs listens for signals. This would also allow for a decent shutdown of all engines.