@@ -2032,19 +2032,19 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
2032
2032
// ********************************************************* Step 11c: schedule Dash-specific tasks
2033
2033
2034
2034
if (!fLiteMode ) {
2035
- scheduler.scheduleEvery (boost::bind (&CNetFulfilledRequestManager::DoMaintenance, boost::ref (netfulfilledman)), 60 );
2036
- scheduler.scheduleEvery (boost::bind (&CMasternodeSync::DoMaintenance, boost::ref (masternodeSync), boost::ref (*g_connman)), 1 );
2037
- scheduler.scheduleEvery (boost::bind (&CMasternodeUtils::DoMaintenance, boost::ref (*g_connman)), 1 );
2035
+ scheduler.scheduleEvery (boost::bind (&CNetFulfilledRequestManager::DoMaintenance, boost::ref (netfulfilledman)), 60 * 1000 );
2036
+ scheduler.scheduleEvery (boost::bind (&CMasternodeSync::DoMaintenance, boost::ref (masternodeSync), boost::ref (*g_connman)), 1 * 1000 );
2037
+ scheduler.scheduleEvery (boost::bind (&CMasternodeUtils::DoMaintenance, boost::ref (*g_connman)), 1 * 1000 );
2038
2038
2039
- scheduler.scheduleEvery (boost::bind (&CGovernanceManager::DoMaintenance, boost::ref (governance), boost::ref (*g_connman)), 60 * 5 );
2039
+ scheduler.scheduleEvery (boost::bind (&CGovernanceManager::DoMaintenance, boost::ref (governance), boost::ref (*g_connman)), 60 * 5 * 1000 );
2040
2040
2041
- scheduler.scheduleEvery (boost::bind (&CInstantSend::DoMaintenance, boost::ref (instantsend)), 60 );
2041
+ scheduler.scheduleEvery (boost::bind (&CInstantSend::DoMaintenance, boost::ref (instantsend)), 60 * 1000 );
2042
2042
2043
2043
if (fMasternodeMode )
2044
- scheduler.scheduleEvery (boost::bind (&CPrivateSendServer::DoMaintenance, boost::ref (privateSendServer), boost::ref (*g_connman)), 1 );
2044
+ scheduler.scheduleEvery (boost::bind (&CPrivateSendServer::DoMaintenance, boost::ref (privateSendServer), boost::ref (*g_connman)), 1 * 1000 );
2045
2045
#ifdef ENABLE_WALLET
2046
2046
else
2047
- scheduler.scheduleEvery (boost::bind (&CPrivateSendClientManager::DoMaintenance, boost::ref (privateSendClient), boost::ref (*g_connman)), 1 );
2047
+ scheduler.scheduleEvery (boost::bind (&CPrivateSendClientManager::DoMaintenance, boost::ref (privateSendClient), boost::ref (*g_connman)), 1 * 1000 );
2048
2048
#endif // ENABLE_WALLET
2049
2049
}
2050
2050
0 commit comments