View Source FLAMEGigalixirBackend (flame_gigalixir_backend v0.1.0)

The FLAME.Backend using Gigalixir machines.

The only required configuration is telling FLAME to use the FLAMEGigalixirBackend by default.

The following backend options are supported:

  • :size - The size of the runner. Defaults to the application's size. Minimum is 0.2, which represent 200MiB of memory and 0.2 CPU shares.

  • :boot_timeout - The boot timeout. Defaults to 60_000 (60 seconds).

  • :max_runtime - The maximum runtime of the runner in seconds.

  • :app – The name of the Gigalixir app. Defaults to System.get_env("GIGALIXIR__APP_NAME"),

  • :token – The application's API token. Defaults to System.get_env("GIGALIXIR__APP_KEY").

  • :host – The host of the Gigalixir API. Defaults to "https://api.gigalixir.com".

Summary

Functions

with_elapsed_ms(func)