diff --git a/src/terrama2/services/alert/core/AlertExecutor.cpp b/src/terrama2/services/alert/core/AlertExecutor.cpp index dc4095857..c2adf125b 100644 --- a/src/terrama2/services/alert/core/AlertExecutor.cpp +++ b/src/terrama2/services/alert/core/AlertExecutor.cpp @@ -145,7 +145,7 @@ std::shared_ptr terrama2::services::alert::core::AlertExecutor std::string currentRiskProperty = dateTimeToString(currentDate); - uint32_t currentRisk = std::numeric_limits::max(); + uint32_t currentRisk = terrama2::core::DefaultRiskLevel; try { auto attrValue = resultMap.at(currentRiskProperty).second;