mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Lower memory consumption by-default
This commit is contained in:
parent
73af89a7ff
commit
ad394a2aa8
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
|
||||
terminate/2, code_change/3]).
|
||||
|
||||
-define(MAX_SOCK_BUF_SIZE, 1024 * 300). % Decrease if CPU is cheaper than RAM
|
||||
-define(MAX_SOCK_BUF_SIZE, 1024 * 50). % Decrease if CPU is cheaper than RAM
|
||||
-define(MAX_UP_INIT_BUF_SIZE, 1024 * 1024). %1mb
|
||||
|
||||
-define(APP, mtproto_proxy).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue