antikythera v0.2.0 AntikytheraCore.StartupManager View Source

Manages progress of startup procedure of antikythera.

Most of initialization steps are done within AntikytheraCore.start/2. However, the following step is not done in AntikytheraCore.start/2 and delayed:

  • Installing gears: Starting a gear requires that the antikythera instance (as an OTP application) has started; this step is delegated to VersionSynchronizer.

This GenServer waits for the above procedures to complete and then changes the cowboy routing rules so that the current node can receive web requests from its upstream load balancer.

Link to this section Summary

Link to this section Functions

Link to this function all_gears_installed() View Source
all_gears_installed() :: :ok
Link to this function initialized?() View Source
initialized?() :: boolean()
Link to this function update_routing(gear_names) View Source
update_routing([Antikythera.GearName.t()]) :: :ok