Skip to content

Commit

Permalink
Don't restart mongooseim as temporary
Browse files Browse the repository at this point in the history
It is started as a permanent app, and should stay this way
to ensure that the node does not remain running without the app.
  • Loading branch information
chrzaszcz committed Dec 18, 2024
1 parent d940bea commit 9ad2942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongoose_cluster.erl
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ with_app_stopped(App, F) ->
try
F()
after
Running andalso application:start(App)
Running andalso application:start(App, permanent)

Check warning on line 221 in src/mongoose_cluster.erl

View check run for this annotation

Codecov / codecov/patch

src/mongoose_cluster.erl#L221

Added line #L221 was not covered by tests
end.

node_trans(F) ->
Expand Down

0 comments on commit 9ad2942

Please sign in to comment.