mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 12:16:38 +00:00
14 lines
188 B
Go
14 lines
188 B
Go
package automemlimit
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/KimMachineGun/automemlimit/memlimit"
|
|
)
|
|
|
|
func init() {
|
|
memlimit.SetGoMemLimitWithOpts(
|
|
memlimit.WithLogger(slog.Default()),
|
|
)
|
|
}
|