Skip to content

Commit

Permalink
Revert shutdown strategy for background jobs (#1273)
Browse files Browse the repository at this point in the history
To have the ability to terminate gracefully
  • Loading branch information
robertoaloi authored Apr 19, 2022
1 parent dc3a5e1 commit 252474d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/els_lsp/src/els_background_job_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ init([]) ->
ChildSpecs = [#{ id => els_background_job
, start => {els_background_job, start_link, []}
, restart => temporary
, shutdown => brutal_kill
, shutdown => 5000
}],
{ok, {SupFlags, ChildSpecs}}.

0 comments on commit 252474d

Please sign in to comment.