Releases: rdforte/gomaxecs
Releases · rdforte/gomaxecs
v1.1.1
- 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
- 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.