mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-12 02:42:37 +08:00
f31428739f
* Limit the number of Elixir nodes spawned at the same time in tests * Increase timeout * Update CI to Elixir 1.12 * Terminate unused runtimes * Increase timeout on the spawning node side * Cleanup * Run test with --trace * Up * Up * Run tests with long node names * Just longnames CI * Move CI dependent config to config/test.exs
14 lines
529 B
Elixir
14 lines
529 B
Elixir
import Config
|
|
|
|
# Configure the type of names used for distribution and the node name.
|
|
# By default a random short name is used.
|
|
# config :livebook, :node, {:shortnames, "livebook"}
|
|
# config :livebook, :node, {:longnames, :"livebook@127.0.0.1"}
|
|
|
|
if config_env() == :prod do
|
|
# We don't need persistent session, so it's fine to just
|
|
# generate a new key everytime the app starts
|
|
secret_key_base = :crypto.strong_rand_bytes(48) |> Base.encode64()
|
|
|
|
config :livebook, LivebookWeb.Endpoint, secret_key_base: secret_key_base
|
|
end
|