Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/missionmatch / cmd/opportunity-extract/limits_other.go |
| Date | Not specified in source |
| Repository | Janady13/missionmatch |
| Revision | 720d47fae476b0d38477ae4401697d372b1ea2bc |
| Branch | feature/opportunity-to-outcome |
| Path or archive member | cmd/opportunity-extract/limits_other.go |
| Original SHA-256 | 26c1e24a9b22103cdecebcfd5419b8b33b2cb28216b667f460e64644725bbe20 |
| Git blob SHA | 2bb9aa0506879d2d71a61fcdc52f2d112d4ef000 |
| Reading-copy SHA-256 | 26c1e24a9b22103cdecebcfd5419b8b33b2cb28216b667f460e64644725bbe20 |
Recovered source transcript
Download complete source text ↓14 lines · 0.3 KB
//go:build !linux
package main
import "os/exec"
// NON LINUX BUILDS get the same isolation and the same soft memory hint, minus Pdeathsig, which is Linux only.
// The difference is stated rather than papered over. Production is Linux.
func applyWorkerLimits(cmd *exec.Cmd) {
cmd.Env = append(cmd.Environ(), "GOMEMLIMIT=512MiB")
}
func selfLimit() {}