mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add GRPCServer to Stoppable Hierarchy
This commit is contained in:
committed by
Nik Bougalis
parent
795de3a75a
commit
a26a175957
@@ -439,7 +439,7 @@ public:
|
||||
logs_->journal("Application"),
|
||||
std::chrono::milliseconds(100),
|
||||
get_io_service())
|
||||
, grpcServer_(std::make_unique<GRPCServer>(*this))
|
||||
, grpcServer_(std::make_unique<GRPCServer>(*this, *m_jobQueue))
|
||||
{
|
||||
add(m_resourceManager.get());
|
||||
|
||||
@@ -1316,7 +1316,6 @@ ApplicationImp::setup()
|
||||
logs_->silent(config_->silent());
|
||||
|
||||
m_jobQueue->setThreadCount(config_->WORKERS, config_->standalone());
|
||||
grpcServer_->run();
|
||||
|
||||
if (!config_->standalone())
|
||||
timeKeeper_->run(config_->SNTP_SERVERS);
|
||||
|
||||
Reference in New Issue
Block a user