Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Sadokhov committed Jul 20, 2023
1 parent a529b0e commit 9820286
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,8 @@ mixed f$curl_exec(curl_easy easy_id) noexcept {
easy_context->error_num = dl::critical_section_call(curl_easy_perform, easy_context->easy_handle);
double request_finish_time = dl_time();
if (request_finish_time - request_start_time >= long_curl_query) {
const string &url = easy_context->get_info(CURLINFO_EFFECTIVE_URL).as_string();
kprintf("LONG curl query : %f. Curl id = %d, url = %.100s\n", request_finish_time - request_start_time,
easy_context->uniq_id, url.c_str());
easy_context->uniq_id, easy_context->get_info(CURLINFO_EFFECTIVE_URL).as_string().c_str());
}
if (easy_context->error_num != CURLE_OK && easy_context->error_num != CURLE_PARTIAL_FILE) {
if (kphp_tracing::is_turned_on()) {
Expand Down

0 comments on commit 9820286

Please sign in to comment.