roughly 1 sec update timer now

This commit is contained in:
swg
2016-05-07 00:00:36 +01:00
parent e65f6aa238
commit e753f9c250
@@ -2788,7 +2788,7 @@ void CentralServer::update()
int webUpdateIntervalSeconds = ConfigCentralServer::getWebUpdateIntervalSeconds();
// assuming that every 5th frame is ~1 second, we can multiply and then check
if ( webUpdateIntervalSeconds && (++apiLoopCount > (webUpdateIntervalSeconds*5)) )
if ( webUpdateIntervalSeconds && (++apiLoopCount > (webUpdateIntervalSeconds*1000)) )
{
apiLoopCount = 0;