Loading examples/cxx/ADM_transfer_update.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ main(int argc, char* argv[]) { scord::transfer_update(server, transfer.id(), 10.0f); fmt::print(stdout, "ADM_transfer_update remote procedure completed " fmt::print(stdout, "ADM_transfer_update() remote procedure completed " "successfully\n"); exit(EXIT_SUCCESS); } catch(const std::exception& e) { Loading src/lib/detail/impl.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -542,7 +542,8 @@ transfer_update(const server& srv, uint64_t transfer_id, float obtained_bw) { lookup_rv.has_value()) { const auto& endp = lookup_rv.value(); LOGGER_INFO("rpc {:<} body: {{transfer_id: {}}}", rpc, transfer_id); LOGGER_INFO("rpc {:<} body: {{transfer_id: {}, obtained_bw: {}}}", rpc, transfer_id, obtained_bw); if(const auto& call_rv = endp.call(rpc.name(), transfer_id, obtained_bw); Loading src/scord/rpc_server.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -793,8 +793,7 @@ rpc_server::transfer_update(const network::request& req, uint64_t transfer_id, const auto resp = response_with_id{rpc.id(), ec, transfer_id}; LOGGER_INFO("rpc {:<} body: {{retval: {}, tx_id: {}}}", rpc, ec, transfer_id); LOGGER_INFO("rpc {:<} body: {{retval: {}}}", rpc, ec); // TODO: create a transfer in transfer manager // We need the contact point, and different qos Loading Loading
examples/cxx/ADM_transfer_update.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ main(int argc, char* argv[]) { scord::transfer_update(server, transfer.id(), 10.0f); fmt::print(stdout, "ADM_transfer_update remote procedure completed " fmt::print(stdout, "ADM_transfer_update() remote procedure completed " "successfully\n"); exit(EXIT_SUCCESS); } catch(const std::exception& e) { Loading
src/lib/detail/impl.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -542,7 +542,8 @@ transfer_update(const server& srv, uint64_t transfer_id, float obtained_bw) { lookup_rv.has_value()) { const auto& endp = lookup_rv.value(); LOGGER_INFO("rpc {:<} body: {{transfer_id: {}}}", rpc, transfer_id); LOGGER_INFO("rpc {:<} body: {{transfer_id: {}, obtained_bw: {}}}", rpc, transfer_id, obtained_bw); if(const auto& call_rv = endp.call(rpc.name(), transfer_id, obtained_bw); Loading
src/scord/rpc_server.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -793,8 +793,7 @@ rpc_server::transfer_update(const network::request& req, uint64_t transfer_id, const auto resp = response_with_id{rpc.id(), ec, transfer_id}; LOGGER_INFO("rpc {:<} body: {{retval: {}, tx_id: {}}}", rpc, ec, transfer_id); LOGGER_INFO("rpc {:<} body: {{retval: {}}}", rpc, ec); // TODO: create a transfer in transfer manager // We need the contact point, and different qos Loading