mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:40:05 +00:00
Making local variables in AWS Level 3 Data Provider static, adding debug
This commit is contained in:
parent
c5f0de84a7
commit
c9c77050ed
1 changed files with 4 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ static const auto logger_ = util::Logger::Create(logPrefix_);
|
|||
static const std::string kDefaultBucketName_ = "unidata-nexrad-level3";
|
||||
static const std::string kDefaultRegion_ = "us-east-1";
|
||||
|
||||
std::unordered_map<std::string, std::vector<std::string>> productMap_;
|
||||
std::shared_mutex productMutex_;
|
||||
static std::unordered_map<std::string, std::vector<std::string>> productMap_;
|
||||
static std::shared_mutex productMutex_;
|
||||
|
||||
class AwsLevel3DataProvider::Impl
|
||||
{
|
||||
|
|
@ -148,6 +148,8 @@ void AwsLevel3DataProvider::Impl::ListProducts()
|
|||
|
||||
readLock.unlock();
|
||||
|
||||
logger_->debug("ListProducts()");
|
||||
|
||||
// Prefix format: GGG_
|
||||
const std::string prefix = fmt::format("{0}_", siteId_);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue