Skip to content

Commit

Permalink
ft: gather metrics from other nodes with low priority
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Jul 2, 2024
1 parent 0e07281 commit 5215f67
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/supavisor/tenants_metrics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ defmodule Supavisor.TenantsMetrics do
@check_timeout 10_000

def start_link(args) do
GenServer.start_link(__MODULE__, args, name: __MODULE__)
GenServer.start_link(__MODULE__, args,
name: __MODULE__,
spawn_opt: [
priority: :low
]
)
end

## Callbacks
Expand Down

0 comments on commit 5215f67

Please sign in to comment.