FILE / ScuroNeko/mtg

mtglib/internal/relay/pool_settings_mips.go

Исходный файл и его история в репозитории.
FILE d3a090d6b4f35f93f7c2220e2239147140e0571a
Files
mtg/mtglib/internal/relay/pool_settings_mips.go
T

14 lines
404 B
Go

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