We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63d7d7d commit 905e7aeCopy full SHA for 905e7ae
ext/src/http/client/curl/http_client_curl.cc
@@ -830,9 +830,9 @@ bool HttpClient::doRemoveSessions()
830
return has_data;
831
}
832
833
+#ifdef ENABLE_OTLP_RETRY_PREVIEW
834
bool HttpClient::doRetrySessions(bool report_all)
835
{
-#ifdef ENABLE_OTLP_RETRY_PREVIEW
836
const auto now = std::chrono::system_clock::now();
837
auto has_data = false;
838
@@ -866,10 +866,13 @@ bool HttpClient::doRetrySessions(bool report_all)
866
867
report_all = report_all && !pending_to_retry_sessions_.empty();
868
return has_data || report_all;
869
+}
870
#else
871
+bool HttpClient::doRetrySessions(bool /* report_all */)
872
+{
873
return false;
-#endif // ENABLE_OTLP_RETRY_PREVIEW
874
875
+#endif // ENABLE_OTLP_RETRY_PREVIEW
876
877
void HttpClient::resetMultiHandle()
878
0 commit comments