From 76575c512ce1c4ffb108df3a13d150b1b6826dea Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 24 Nov 2022 15:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'simgear/scene/tsync/terra?= =?UTF-8?q?sync.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simgear/scene/tsync/terrasync.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/simgear/scene/tsync/terrasync.cxx b/simgear/scene/tsync/terrasync.cxx index 3bc58eea..f5b086a8 100644 --- a/simgear/scene/tsync/terrasync.cxx +++ b/simgear/scene/tsync/terrasync.cxx @@ -1347,6 +1347,16 @@ void SGTerraSync::update(double) const int seconds = static_cast(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())