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
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pool_settings_mips.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. )