clang again

This commit is contained in:
Wietse Wind
2024-10-24 02:32:15 +02:00
parent e2e0186b32
commit 6fdb285d48
2 changed files with 7 additions and 6 deletions

View File

@@ -1894,7 +1894,8 @@ fromNetwork(
constexpr auto RPC_REPLY_MAX_BYTES = megabytes(256);
using namespace std::chrono_literals;
// auto constexpr RPC_NOTIFY = 10min; // Wietse: lolwut 10 minutes for one HTTP call?
// auto constexpr RPC_NOTIFY = 10min; // Wietse: lolwut 10 minutes for one
// HTTP call?
auto constexpr RPC_NOTIFY = 30s;
HTTPClient::request(

View File

@@ -78,9 +78,9 @@ public:
{
std::lock_guard sl(mLock);
// Wietse: we're not going to limit this, this is admin-port only, scale accordingly
// Dropping events just like this results in inconsistent data on the receiving end
// if (mDeque.size() >= eventQueueMax)
// Wietse: we're not going to limit this, this is admin-port only, scale
// accordingly Dropping events just like this results in inconsistent
// data on the receiving end if (mDeque.size() >= eventQueueMax)
// {
// // Drop the previous event.
// JLOG(j_.warn()) << "RPCCall::fromNetwork drop";
@@ -184,8 +184,8 @@ private:
}
private:
// Wietse: we're not going to limit this, this is admin-port only, scale accordingly
// enum { eventQueueMax = 32 };
// Wietse: we're not going to limit this, this is admin-port only, scale
// accordingly enum { eventQueueMax = 32 };
boost::asio::io_service& m_io_service;
JobQueue& m_jobQueue;