Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move configuration params to a central place #818

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Conversation

iskakaushik
Copy link
Contributor

No description provided.

@iskakaushik iskakaushik enabled auto-merge (squash) December 13, 2023 18:42
@@ -139,7 +140,7 @@ func (c *EventHubConnector) processBatch(
toJSONOpts := model.NewToJSONOptions(c.config.UnnestColumns)

eventHubFlushTimeout :=
time.Duration(utils.GetEnvInt("PEERDB_EVENTHUB_FLUSH_TIMEOUT_SECONDS", 10)) *
time.Duration(peerdbenv.GetPeerDBEventhubFlushTimeoutSeconds()) *
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
unnecessary conversion (unconvert)

flow/peerdbenv/config.go Fixed Show fixed Hide fixed
@heavycrystal
Copy link
Contributor

fix the CodeQL lint

@iskakaushik
Copy link
Contributor Author

fix the CodeQL lint

done!

@iskakaushik iskakaushik disabled auto-merge December 13, 2023 20:06
@iskakaushik iskakaushik merged commit 90c1b0c into main Dec 13, 2023
12 checks passed
@serprex serprex deleted the common-env-vars branch July 19, 2024 15:21
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