View Source AntikytheraCore.VersionUpgradeTaskQueue (antikythera v0.5.1)

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.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec core_updated() :: :ok
@spec disable() :: :ok
@spec enable() :: :ok
@spec gear_updated(Antikythera.GearName.t()) :: :ok