reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.29k stars 328 forks source link

Add graceful shutdown #1255

Open sylvain-reynaud opened 1 year ago

sylvain-reynaud commented 1 year ago

The container doesn’t shutdown gracefully. To stop it, I have to run docker rm -f <container_name>.

The container should shutdown gracefully for the reasons explained in the 12factor app: https://12factor.net/disposability

I would like to work on it, is it possible ?

amaury1093 commented 1 year ago

Sure. @sylvain-reynaud Could you clarify what exactly is your proposed solution?

sylvain-reynaud commented 1 year ago

Ideally:

amaury1093 commented 11 months ago

That works for me. If you want to create a PR, I'll review (and approve) it.