mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Migrate off of posix_time and most uses of C time_t.
This commit is contained in:
committed by
Vinnie Falco
parent
2e2a7509cd
commit
5d9e53a37d
@@ -1307,7 +1307,8 @@ void fromNetwork (
|
||||
// Send request
|
||||
|
||||
const int RPC_REPLY_MAX_BYTES (256*1024*1024);
|
||||
const int RPC_NOTIFY_SECONDS (600);
|
||||
using namespace std::chrono_literals;
|
||||
auto constexpr RPC_NOTIFY = 10min;
|
||||
|
||||
auto j = logs.journal ("HTTPClient");
|
||||
|
||||
@@ -1323,7 +1324,7 @@ void fromNetwork (
|
||||
mapRequestHeaders,
|
||||
strPath, std::placeholders::_1, std::placeholders::_2, j),
|
||||
RPC_REPLY_MAX_BYTES,
|
||||
boost::posix_time::seconds (RPC_NOTIFY_SECONDS),
|
||||
RPC_NOTIFY,
|
||||
std::bind (&RPCCallImp::onResponse, callbackFuncP,
|
||||
std::placeholders::_1, std::placeholders::_2,
|
||||
std::placeholders::_3, j),
|
||||
|
||||
Reference in New Issue
Block a user