Tune buffer limits to 32kb by default

This commit is contained in:
9seconds
2020-03-25 10:07:10 +03:00
parent 8977d77a13
commit 289e8f5945
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -92,13 +92,13 @@ var (
"Write buffer size. You can think about it as a buffer from client to Telegram.").
Short('w').
Envar("MTG_BUFFER_WRITE").
Default("24KB").
Default("32KB").
Bytes()
runReadBufferSize = runCommand.Flag("read-buffer",
"Read buffer size. You can think about it as a buffer from Telegram to client.").
Short('r').
Envar("MTG_BUFFER_READ").
Default("24KB").
Default("32KB").
Bytes()
runTLSCloakPort = runCommand.Flag("cloak-port",
"Port which should be used for host cloaking.").