Skip to content

Commit

Permalink
chore: add a small timer, unlink vault and kill
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Aug 7, 2024
1 parent 8f60713 commit 52db196
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ defmodule Logflare.Repo.Migrations.AddEncryptedConfigFieldForBackendsTable do
|> Logflare.Repo.update_all([])
end)
# stop the vault
Process.exit(pid, :normal)
Process.unlink(pid)
Process.exit(pid, :kill)
:timer.sleep(250)
end

def down do
Expand Down

0 comments on commit 52db196

Please sign in to comment.