Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Remove INI config parsing/handling #272

Merged
merged 3 commits into from
Mar 26, 2019
Merged

Remove INI config parsing/handling #272

merged 3 commits into from
Mar 26, 2019

Conversation

sunhay
Copy link
Member

@sunhay sunhay commented Mar 26, 2019

We're not building new agent 5 versions past 5.32.0, so instead of putting effort to move INI config handling via #264, we can just delete it and simplify our code base.

@sunhay sunhay requested a review from sfluor March 26, 2019 15:50
@@ -161,7 +161,7 @@ func (a *AgentConfig) loadProcessYamlConfig(path string) error {

// The maximum number of processes, or containers per message. Note: Only change if the defaults are causing issues.
if maxPerMessage := config.Datadog.GetInt(key(ns, "max_per_message")); maxPerMessage > 0 {
if maxPerMessage <= maxPerMessage {
if maxPerMessage <= maxMessageBatch {
Copy link
Contributor

Choose a reason for hiding this comment

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

😀

Copy link
Contributor

@sfluor sfluor left a comment

Choose a reason for hiding this comment

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

Only had one question, otherwise 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants