-
Notifications
You must be signed in to change notification settings - Fork 9
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
RUMM-2342 Add support to v2 request #99
Conversation
...k-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/internal/OkHttpUploader.kt
Outdated
Show resolved
Hide resolved
@@ -30,6 +36,7 @@ internal class OkHttpUploader : Uploader { | |||
.Builder() | |||
.callTimeout(NETWORK_TIMEOUT_MS, TimeUnit.MILLISECONDS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems call timeout already includes time for both write and connect stages, so shouldn't we either keep only call
timeout, or remove it and use a set of connect
, write
, read
timeouts (read
timeout probably doesn't matter)?
...k-android-gradle-plugin/src/main/kotlin/com/datadog/gradle/plugin/internal/OkHttpUploader.kt
Show resolved
Hide resolved
95c7ef4
to
2822016
Compare
2822016
to
a411dd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Codecov Report
@@ Coverage Diff @@
## develop #99 +/- ##
=============================================
- Coverage 89.96% 89.44% -0.52%
+ Complexity 147 146 -1
=============================================
Files 20 20
Lines 448 464 +16
Branches 50 52 +2
=============================================
+ Hits 403 415 +12
- Misses 28 30 +2
- Partials 17 19 +2
|
What does this PR do?
Adapt the payload format to API v2
Motivation
Stay compatible with the backend processor evolutions