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
16
16
connect_info: [ :peer_data , :uri , :x_headers ] ,
17
17
fullsweep_after: 20 ,
18
18
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 ,
19
25
serializer: [
20
26
{ Phoenix.Socket.V1.JSONSerializer , "~> 1.0.0" } ,
21
27
{ 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
4
4
def project do
5
5
[
6
6
app: :realtime ,
7
- version: "2.47.2 " ,
7
+ version: "2.47.3 " ,
8
8
elixir: "~> 1.17.3" ,
9
9
elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
10
10
start_permanent: Mix . env ( ) == :prod ,
You can’t perform that action at this time.
0 commit comments