Skip to content

Commit

Permalink
perf: tweak LogEventsCache size and ttl (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc authored Nov 7, 2024
1 parent 0ca5a2b commit 581cd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/logflare/logs/log_events_cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ defmodule Logflare.Logs.LogEvents.Cache do
hooks:
[
if(stats, do: Utils.cache_stats()),
Utils.cache_limit(5_000)
Utils.cache_limit(15_000)
]
|> Enum.filter(& &1),
expiration: Utils.cache_expiration_min(60)
expiration: Utils.cache_expiration_min(15)
]
]
}
Expand Down

0 comments on commit 581cd6d

Please sign in to comment.