antikythera v0.4.0 AntikytheraCore.VersionUpgradeTaskQueue View Source

A GenServer to serialize tasks to "upgrade of antikythera instance" and "installation or upgrade of gears".

This is implemented as a GenServer for the purpose of preventing multiple install/upgrade from running concurrently. As each installation/upgrade can take much longer than 5-seconds timeout of system messages, the actual task is delegated to one-off processes.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

core_updated() :: :ok

Specs

disable() :: :ok

Specs

enable() :: :ok

Specs

gear_updated(Antikythera.GearName.t()) :: :ok