File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ defmodule Realtime.GenRpcPubSub.Worker do
67
67
@ impl true
68
68
def init ( pubsub ) do
69
69
Process . flag ( :message_queue_data , :off_heap )
70
+ Process . flag ( :fullsweep_after , 1000 )
70
71
{ :ok , pubsub }
71
72
end
72
73
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
4
4
def project do
5
5
[
6
6
app: :realtime ,
7
- version: "2.51.8 " ,
7
+ version: "2.51.9 " ,
8
8
elixir: "~> 1.17.3" ,
9
9
elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
10
10
start_permanent: Mix . env ( ) == :prod ,
Original file line number Diff line number Diff line change @@ -9,4 +9,10 @@ defmodule Realtime.GenRpcPubSubTest do
9
9
|> Process . whereis ( )
10
10
|> Process . info ( :message_queue_data ) == { :message_queue_data , :off_heap }
11
11
end
12
+
13
+ test "it sets fullsweep_after flag on the workers" do
14
+ assert Realtime.PubSubElixir.Realtime.PubSub.Adapter_1
15
+ |> Process . whereis ( )
16
+ |> Process . info ( :fullsweep_after ) == { :fullsweep_after , 1000 }
17
+ end
12
18
end
You can’t perform that action at this time.
0 commit comments