mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-19 07:31:53 +03:00
13 lines
188 B
Go
13 lines
188 B
Go
package automemlimit
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/KimMachineGun/automemlimit/memlimit"
|
|
)
|
|
|
|
func init() {
|
|
memlimit.SetGoMemLimitWithOpts(
|
|
memlimit.WithLogger(slog.Default()),
|
|
)
|
|
}
|