A library for graceful shutdowns
Go to file
Roman Pushkov 186cf4d072
MSPF-487: graceful shutdown (#1)
* add deps

* add implementation

* add tests

* expose full server spec

* update tests

* minor formatting

* formatting

* update rebar config

* minor naming fix

* update .app.src

* add license

* protocal as a separate argument

* refactor tests

* use generated ip and port in tests

* minor refactoring

* remove hackney from lockfile

* change argument order to match ranch spec

* stop hackney after test suite

* refactor tests

* refactor tests

* update readme

* fix drainer
2020-06-23 13:09:03 +03:00
src MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00
test MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00
LICENSE MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00
README.md MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00
rebar.config MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00
rebar.lock MSPF-487: graceful shutdown (#1) 2020-06-23 13:09:03 +03:00

cowboy_draining_server

A library for graceful shutdowns. Strictly speaking,cowboy is not a given.

Build

$ rebar3 compile