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

Add explicit type conversion from std::chrono::milliseconds to long #450

Merged
merged 3 commits into from
Jan 5, 2021

Conversation

ThomsonTan
Copy link
Contributor

http_conn_timeout_ is in type std::chrono::milliseconds which has more than 32-bit count as Count(). Add explicit conversion from this std::chrono::milliseconds::Count() to long as long could be in 32-bit.

@ThomsonTan ThomsonTan requested a review from a team December 14, 2020 23:39
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #450 (33f5d3b) into master (1754711) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
- Coverage   94.38%   94.37%   -0.02%     
==========================================
  Files         189      189              
  Lines        8409     8409              
==========================================
- Hits         7937     7936       -1     
- Misses        472      473       +1     
Impacted Files Coverage Δ
...lemetry/ext/http/client/curl/http_operation_curl.h 82.43% <100.00%> (ø)
sdk/test/common/circular_buffer_test.cc 98.97% <0.00%> (-1.03%) ⬇️

@lalitb lalitb requested a review from jsuereth December 22, 2020 17:13
@lalitb lalitb merged commit c786881 into open-telemetry:master Jan 5, 2021
kxyr pushed a commit to open-o11y/opentelemetry-cpp that referenced this pull request Jan 8, 2021
@ThomsonTan ThomsonTan deleted the FixChronoType branch November 9, 2022 22:53
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.

3 participants