Skip to content

Commit

Permalink
perf: remove backends registry partitioning (#2121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc authored Jul 5, 2024
1 parent 35e9cb3 commit 311d330
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/logflare/backends/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ defmodule Logflare.Backends.Supervisor do
Backends.IngestEventQueue.MapperJanitor,
Backends.Adaptor.PostgresAdaptor.Supervisor,
{DynamicSupervisor, strategy: :one_for_one, name: Backends.SourcesSup},
{Registry,
name: Backends.SourceRegistry, keys: :unique, partitions: System.schedulers_online()},
{Registry,
name: Logflare.Backends.BackendRegistry,
keys: :unique,
partitions: System.schedulers_online()}
{Registry, name: Backends.SourceRegistry, keys: :unique},
{Registry, name: Backends.BackendRegistry, keys: :unique}
]

opts = [strategy: :one_for_one]
Expand Down

0 comments on commit 311d330

Please sign in to comment.