Skip to content

Commit 8aefde5

Browse files
committed
enable read concurrency for the ets table
1 parent e9a860a commit 8aefde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/transport/rate_limiter.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule Sentry.Transport.RateLimiter do
2727

2828
@impl true
2929
def init(nil) do
30-
_table = :ets.new(@table, [:named_table, :public, :set])
30+
_table = :ets.new(@table, [:named_table, :public, :set, read_concurrency: true])
3131
schedule_sweep()
3232
{:ok, :no_state}
3333
end

0 commit comments

Comments
 (0)