diff --git a/lib/logflare/logs/search/logs_search_query_executor.ex b/lib/logflare/logs/search/logs_search_query_executor.ex index 74b5abb66..437ee1b1f 100644 --- a/lib/logflare/logs/search/logs_search_query_executor.ex +++ b/lib/logflare/logs/search/logs_search_query_executor.ex @@ -28,7 +28,11 @@ defmodule Logflare.Logs.SearchQueryExecutor do # API def start_link(args) do source = Keyword.get(args, :source) - GenServer.start_link(__MODULE__, args, name: Backends.via_source(source, __MODULE__)) + + GenServer.start_link(__MODULE__, args, + spawn_opt: [fullsweep_after: 5_000], + name: Backends.via_source(source, __MODULE__) + ) end @impl true