Skip to content

Conversation

frrist
Copy link
Member

@frrist frrist commented May 6, 2022

No description provided.

@frrist frrist self-assigned this May 6, 2022
@frrist frrist requested review from kasteph and placer14 May 6, 2022 16:41
AmtParallelWorkerLimit = int64(runtime.NumCPU())
workerStr := os.Getenv(AmtParallelWorkerEnv)
if workerStr != "" {
AmtParallelWorkerLimit, err := strconv.ParseInt(workerStr, 10, 64)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Put this error check in the if above to flatten.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, that would ruin the AmtParallelWorkerLimit on error. nm. GTM

@frrist frrist merged commit 57ba5fc into master May 6, 2022
@frrist frrist deleted the frrist/update-amt-parallel branch May 6, 2022 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants