mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:50:05 +00:00
Merge pull request #504 from dpaulat/hotfix/level2-fixes
Level 2 AWS Bucket Name Update
This commit is contained in:
commit
f8ebd265e0
3 changed files with 10 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ public:
|
||||||
void RefreshData();
|
void RefreshData();
|
||||||
void RefreshDataSync();
|
void RefreshDataSync();
|
||||||
|
|
||||||
boost::asio::thread_pool providerThreadPool_ {1u};
|
boost::asio::thread_pool providerThreadPool_ {2u};
|
||||||
|
|
||||||
const std::string radarId_;
|
const std::string radarId_;
|
||||||
const common::RadarProductGroup group_;
|
const common::RadarProductGroup group_;
|
||||||
|
|
@ -1272,6 +1272,11 @@ void RadarProductManagerImpl::PopulateLevel2ProductTimes(
|
||||||
level2ProductRecordMutex_,
|
level2ProductRecordMutex_,
|
||||||
time,
|
time,
|
||||||
update);
|
update);
|
||||||
|
PopulateProductTimes(level2ChunksProviderManager_,
|
||||||
|
level2ProductRecords_,
|
||||||
|
level2ProductRecordMutex_,
|
||||||
|
time,
|
||||||
|
update);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadarProductManagerImpl::PopulateLevel3ProductTimes(
|
void RadarProductManagerImpl::PopulateLevel3ProductTimes(
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,9 @@ public:
|
||||||
animationTimer_.cancel();
|
animationTimer_.cancel();
|
||||||
animationTimerLock.unlock();
|
animationTimerLock.unlock();
|
||||||
|
|
||||||
|
selectThreadPool_.stop();
|
||||||
|
playThreadPool_.stop();
|
||||||
|
|
||||||
selectThreadPool_.join();
|
selectThreadPool_.join();
|
||||||
playThreadPool_.join();
|
playThreadPool_.join();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ static const std::string logPrefix_ =
|
||||||
"scwx::provider::aws_level2_data_provider";
|
"scwx::provider::aws_level2_data_provider";
|
||||||
static const auto logger_ = util::Logger::Create(logPrefix_);
|
static const auto logger_ = util::Logger::Create(logPrefix_);
|
||||||
|
|
||||||
static const std::string kDefaultBucketName_ = "noaa-nexrad-level2";
|
static const std::string kDefaultBucketName_ = "unidata-nexrad-level2";
|
||||||
static const std::string kDefaultRegion_ = "us-east-1";
|
static const std::string kDefaultRegion_ = "us-east-1";
|
||||||
|
|
||||||
class AwsLevel2DataProvider::Impl
|
class AwsLevel2DataProvider::Impl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue