edeliver v1.2.6 Edeliver.Relup.Instructions.SoftPurge

Upgrade instruction which replaces :brutal_purge with :soft_purge

for :load_module, :load, :update and :remove relup instructions.

If :brutal_purge is used, processes running old code are killed. If :soft_purge is used the release handler will refuse to start the upgrade.

Summary

Types

insert_fun :: (%Edeliver.Relup.Instructions{changed_modules: term, down_instructions: term, down_version: term, up_instructions: term, up_version: term} | instructions, new_instructions :: instruction | instructions -> updated_instructions :: %Edeliver.Relup.Instructions{changed_modules: term, down_instructions: term, down_version: term, up_instructions: term, up_version: term} | instructions)
instruction :: :relup.instruction

Functions

modify_relup(instructions, config)

Callback implementation for Edeliver.Relup.Instruction.modify_relup/2.