Skip to content

Cast pg_tracing_otel_connect_timeout_ms to long - #92

Open
tristan957 wants to merge 1 commit into
DataDog:mainfrom
tristan957:type-cast
Open

tristan957 wants to merge 1 commit into
DataDog:mainfrom
tristan957:type-cast

Conversation

@tristan957

Copy link
Copy Markdown

What does this PR do?

CURLOPT_CONNECTTIMEOUT_MS expects a long.

Link: https://curl.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html

Motivation

Follow libcurl docs more closely.

CURLOPT_CONNECTTIMEOUT_MS expects a long.

Link: https://curl.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html
Signed-off-by: Tristan Partin <tristan@partin.io>
@tristan957

Copy link
Copy Markdown
Author

This PR is not very important because a long is always at least as large as int. No big deal if it doesn't get merged.

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.

1 participant