From 81ddf283e0505aa8b433029c98502351d571ba8f Mon Sep 17 00:00:00 2001 From: rf Date: Sun, 2 Feb 2025 14:33:34 +1100 Subject: [PATCH 1/2] feat(#100): add warning for issue 66 with alternative solution --- docs/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/index.md b/docs/index.md index 4b545a6..2eae03f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2438,6 +2438,10 @@ When running some Go code inside Docker and Kubernetes, we must know that Go isn One solution is to rely on [uber-go/automaxprocs](https://github.com/uber-go/automaxprocs) that automatically set `GOMAXPROCS` to match the Linux container CPU quota. +???+ warning + + automaxprocs does not work for workloads running in AWS ECS [issue #66](https://github.com/uber-go/automaxprocs/issues/66). Use [rdforte/gomaxecs](https://github.com/rdforte/gomaxecs) instead. + ## Community Thanks to all the contributors: From 3372441b7052de1279d14555805a4d77f894fbae Mon Sep 17 00:00:00 2001 From: rf Date: Tue, 4 Feb 2025 09:18:12 +1100 Subject: [PATCH 2/2] fix(#100): text display outside warning window --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 2eae03f..00c21c2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2440,7 +2440,7 @@ One solution is to rely on [uber-go/automaxprocs](https://github.com/uber-go/aut ???+ warning - automaxprocs does not work for workloads running in AWS ECS [issue #66](https://github.com/uber-go/automaxprocs/issues/66). Use [rdforte/gomaxecs](https://github.com/rdforte/gomaxecs) instead. + automaxprocs does not work for workloads running in AWS ECS [issue #66](https://github.com/uber-go/automaxprocs/issues/66). Use [rdforte/gomaxecs](https://github.com/rdforte/gomaxecs) instead. ## Community