Skip to content

Releases: rdforte/gomaxecs

v1.1.1

27 Dec 21:58
fed4c8e
Compare
Choose a tag to compare
  • Utilises the maxprocs.IsECS method in the init function to detect if running in ECS. If no ECS environment is detected then it will bypass setting GOMAXPROCS. This is to ensure a better local development experience vs previously where it would log an error due to the absence of the ECS agent.

v1.1.0

17 Dec 02:47
0281e1c
Compare
Choose a tag to compare
  • Set function returns an error and an undo function which is responsible for reverting GOMAXPROCS to its previous value.
  • Set function Applies functional options pattern to allow for extending the config
  • Adds the WithLogger method which allows the client to add their own logger that adheres to Printf to Set function.
  • Set function Checks to see if GOMAXPROCS env variable is already set and then honours it.
  • Adds a new method IsECS to check if current process running in ECS.

v1.0.1

14 Dec 00:24
c159b6f
Compare
Choose a tag to compare
  • Set GOMAXPROCS=1 for less than 1 vCPU
  • Improve test coverage

v1.0.0

31 Oct 23:50
Compare
Choose a tag to compare

Initial release.