Skip to content

Commit 4ed8dc1

Browse files
committed
Autostart watchdog
1 parent 8088be5 commit 4ed8dc1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/tpnode/src/tpnode_sup.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ init([]) ->
165165
]
166166
end,
167167

168-
case application:get_env(tpnode,watchdog,undefined) of
168+
case application:get_env(tpnode,watchdog,true) of
169169
true ->
170170
tpwdt:start();
171-
undefined ->
171+
_ ->
172172
ok
173173
end,
174174

0 commit comments

Comments
 (0)