mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Increase load peer timeout (#1396)
Temporary workaround for a rare issue where many peers (> hundreds) cause a timeout for the `GenServer.call` function, preventing the `wireguard_public_key` from being set properly. This will be removed in 0.8, so only an increased timeout is needed for now.
This commit is contained in:
@@ -10,7 +10,7 @@ defmodule FzVpn.Server do
|
||||
alias FzVpn.Keypair
|
||||
|
||||
@process_opts Application.compile_env(:fz_vpn, :server_process_opts, [])
|
||||
@init_timeout 1_000
|
||||
@init_timeout 10_000
|
||||
|
||||
def start_link(_) do
|
||||
GenServer.start_link(__MODULE__, %{}, @process_opts)
|
||||
|
||||
Reference in New Issue
Block a user