更新 'simgear/scene/tsync/terrasync.cxx'

next
zhongjin 2 years ago
parent 3091de98ca
commit 76575c512c

@ -1347,6 +1347,16 @@ void SGTerraSync::update(double)
const int seconds = static_cast<int>(sg_random() * _retryBackOffSeconds);
_retryTime = SGTimeStamp::now() + SGTimeStamp::fromSec(seconds);
SG_LOG(SG_TERRASYNC, SG_ALERT, "Terrasync paused due to " << copiedState._consecutive_errors << " consecutive errors during sync; will retry in " << seconds << " seconds.");
//zhongjin
//NAPTR 查询失败后处理
_retryTime = SGTimeStamp::now() - 1000;
_osmCityServer= "https://data.kongjian.xin/osm2city";
_httpServer = "https://data.kongjian.xin/fgscenery";
}
while (_workerThread->hasNewTiles())

Loading…
Cancel
Save