Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pool_settings_constrained.go 404B

12345678910111213
  1. //go:build mips || mipsle
  2. package relay
  3. import "github.com/9seconds/mtg/v2/mtglib/internal/tls"
  4. const (
  5. // MIPS is quite short in resources, and usually it means that it will run
  6. // on Microtiks, OpenWRT-based routers or similar hardware. I think it worth
  7. // to sacrifice a number of read syscalls (read, CPU load) to shrink
  8. // limited RAM resources.
  9. bufPoolSize = tls.MaxRecordPayloadSize / 2
  10. )