mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix NetworkOPs timer to use JobQueue (2 new JobTypes added)
This commit is contained in:
@@ -92,11 +92,15 @@ void NetworkOPs::onDeadlineTimer (DeadlineTimer& timer)
|
||||
{
|
||||
if (timer == m_netTimer)
|
||||
{
|
||||
processNetTimer ();
|
||||
getApp().getJobQueue ().addJob (jtNETOP_TIMER, "NetworkOPs::processNetTimer",
|
||||
BIND_TYPE (&NetworkOPs::processNetTimer, this));
|
||||
//processNetTimer ();
|
||||
}
|
||||
else if (timer == m_clusterTimer)
|
||||
{
|
||||
doClusterReport();
|
||||
getApp().getJobQueue ().addJob (jtNETOP_CLUSTER, "NetworkOPs::doClusterReport",
|
||||
BIND_TYPE (&NetworkOPs::processNetTimer, this));
|
||||
//doClusterReport();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user