mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-21 09:42:11 +00:00
cd1611362f
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.3.0 to 0.4.0. - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21 lines
355 B
Go
21 lines
355 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package memlimit
|
|
|
|
func FromCgroup() (uint64, error) {
|
|
return 0, ErrCgroupsNotSupported
|
|
}
|
|
|
|
func FromCgroupV1() (uint64, error) {
|
|
return 0, ErrCgroupsNotSupported
|
|
}
|
|
|
|
func FromCgroupHybrid() (uint64, error) {
|
|
return 0, ErrCgroupsNotSupported
|
|
}
|
|
|
|
func FromCgroupV2() (uint64, error) {
|
|
return 0, ErrCgroupsNotSupported
|
|
}
|