-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding automaxproc to auto optimize GOPROC management (#225)
* - imported automaxprocs in main.go * - adding logging for automaxprocs * - updated maxprocs logger to use pre-existing logger functions - made `Klogr` a public variable in `pkg/logger/logger.go` in-order to use it in `main.go` * - updated the else if * Grouping imports in main.go Co-authored-by: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com> * Re-ordering imports in alphabetical order Co-authored-by: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com> * - removed `os.exit` on failure to set `GOMAXPROCS` --------- Co-authored-by: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com>
- Loading branch information
1 parent
46cc901
commit c366f37
Showing
4 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters