Open dincho opened 2 years ago
or maybe not:
1> 08:43:42.191 [error] Supervisor aestratum_client_sup had child aestratum_client_handler started with aestratum_client_handler:start_link(#{conn_cfg => #{host => <<"13.53.161.215">>,port => 9999,req_retries => 3,req_timeout => 15000,...},...}) at <0.357.0> exit with reason normal in context child_terminated
08:43:42.192 [error] Supervisor aestratum_client_sup had child aestratum_client_handler started with aestratum_client_handler:start_link(#{conn_cfg => #{host => <<"13.53.161.215">>,port => 9999,req_retries => 3,req_timeout => 15000,...},...}) at <0.357.0> exit with reason no match of right hand value {error,econnrefused} in aestratum_client_handler:init/1 line 66 in context start_error
08:43:42.192 [error] Supervisor aestratum_client_sup had child aestratum_client_handler started with aestratum_client_handler:start_link(#{conn_cfg => #{host => <<"13.53.161.215">>,port => 9999,req_retries => 3,req_timeout => 15000,...},...}) at {restarting,<0.357.0>} exit with reason reached_max_restart_intensity in context shutdown
08:43:42.192 [error] CRASH REPORT Process <0.404.0> with 0 neighbours crashed with reason: no match of right hand value {error,econnrefused} in aestratum_client_handler:init/1 line 66
08:43:42.192 [info] Application aestratum_client exited with reason: shutdown
However, retries are run without any delay which effectively defeats its purpose