Skip to content

Commit

Permalink
perf: tweak gc-ing of RLS genserver (#2246)
Browse files Browse the repository at this point in the history
* perf: tweak gc-ing of RLS genserver

* chore: revert broadcast interval change
  • Loading branch information
Ziinc authored Nov 5, 2024
1 parent dcecba1 commit 3b9f2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logflare/source/recent_logs_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Logflare.Source.RecentLogsServer do
GenServer.start_link(__MODULE__, args,
name: Backends.via_source(args[:source], __MODULE__),
spawn_opt: [
fullsweep_after: 1_000
fullsweep_after: 100
],
hibernate_after: 5_000
)
Expand Down

0 comments on commit 3b9f2b7

Please sign in to comment.