File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ defmodule RealtimeWeb.Endpoint do
1616 connect_info: [ :peer_data , :uri , :x_headers ] ,
1717 fullsweep_after: 20 ,
1818 max_frame_size: 8_000_000 ,
19+ # https://github.com/ninenines/cowboy/blob/24d32de931a0c985ff7939077463fc8be939f0e9/doc/src/manual/cowboy_websocket.asciidoc#L228
20+ # active_n: The number of packets Cowboy will request from the socket at once.
21+ # This can be used to tweak the performance of the server. Higher values reduce
22+ # the number of times Cowboy need to request more packets from the port driver at
23+ # the expense of potentially higher memory being used.
24+ active_n: 100 ,
1925 serializer: [
2026 { Phoenix.Socket.V1.JSONSerializer , "~> 1.0.0" } ,
2127 { Phoenix.Socket.V2.JSONSerializer , "~> 2.0.0" }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
44 def project do
55 [
66 app: :realtime ,
7- version: "2.47.2 " ,
7+ version: "2.47.3 " ,
88 elixir: "~> 1.17.3" ,
99 elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
1010 start_permanent: Mix . env ( ) == :prod ,
You can’t perform that action at this time.
0 commit comments