GoToSocial/vendor/github.com/KimMachineGun/automemlimit/automemlimit.go

14 lines
188 B
Go

package automemlimit
import (
"log/slog"
"github.com/KimMachineGun/automemlimit/memlimit"
)
func init() {
memlimit.SetGoMemLimitWithOpts(
memlimit.WithLogger(slog.Default()),
)
}