mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 21:56:39 +00:00
ab7f518f57
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.2.5 to 0.2.6. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.2.5...v0.2.6) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-patch ... 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
|
|
}
|