We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6376c8 commit 99c1c65Copy full SHA for 99c1c65
1 file changed
src/datadog/datadog_agent_config.cpp
@@ -124,12 +124,6 @@ Expected<FinalizedDatadogAgentConfig> finalize_config(
124
"milliseconds."};
125
}
126
127
- if (config.request_timeout_milliseconds <= 0) {
128
- return Error{Error::DATADOG_AGENT_INVALID_REQUEST_TIMEOUT,
129
- "DatadogAgent: Request timeout must be a positive number of "
130
- "milliseconds."};
131
- }
132
-
133
result.request_timeout =
134
std::chrono::milliseconds(config.request_timeout_milliseconds);
135
0 commit comments