Fix restart logic and add watchdog
This commit is contained in:
@@ -62,7 +62,6 @@ cache_good_address(#{host := _,
|
||||
ok ->
|
||||
case file:write_file(CacheF, term_to_binary(ToCache)) of
|
||||
ok ->
|
||||
?LOG_DEBUG("Cached eureka info in: ~p", [CacheF]),
|
||||
{ok, ToCache};
|
||||
{error, _} = Err ->
|
||||
?LOG_DEBUG("Couldn't cache eureka in ~p: ~p", [CacheF, Err]),
|
||||
|
||||
Reference in New Issue
Block a user