Closed toraritte closed 4 years ago
Correct, the startup will be service_discovery
first.
service_discovery_storage
has to be listed in the .app.src
of service_discovery_postgres
, but yes, if it was an external library it would also have to be listed as a dep in rebar.config
.
Thank you, especially for the .app.src
bit!
Note to self:
rebar.config
'srelx
section starts withand the Releases chapter states that
So the startup/boot order will be (1)
service_discovery
, (2)service_discovery_postgres
, (3)service_discovery_http
, (4)service_discovery_grpc
and not (1)service_discovery_postgres
, (2)service_discovery
, (3)service_discovery_http
, (4)service_discovery_grpc
, or did I completely misunderstood that paragraph?service_discovery_storage
is not listed because it is a library (i.e., collection of modules without any processes), right? So if it would be an external library it would simply go to thedeps
section inrebar.config
?Thanks in advance!