Skip to content

Commit

Permalink
Fix naming to indicate MS
Browse files Browse the repository at this point in the history
  • Loading branch information
prudrabhat committed Jan 11, 2023
1 parent 7ff9997 commit 52d347c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import java.util.Date
internal class ConfigurationStateManager {
companion object {
private const val LOG_TAG = "ConfigurationStateManager"
private const val CONFIGURATION_TTL = 15000L
private const val CONFIGURATION_TTL_MS = 15000L
private const val BUILD_ENVIRONMENT = "build.environment"
private const val ENVIRONMENT_PREFIX_DELIMITER = "__"
private const val CONFIGURATION_URL_BASE = "https://assets.adobedtm.com/%s.json"
Expand Down Expand Up @@ -456,7 +456,7 @@ internal class ConfigurationStateManager {
*/
internal fun hasConfigExpired(appId: String): Boolean {
val latestDownloadDate: Date? = configDownloadMap[appId]
return latestDownloadDate == null || Date(latestDownloadDate.time + CONFIGURATION_TTL) < Date()
return latestDownloadDate == null || Date(latestDownloadDate.time + CONFIGURATION_TTL_MS) < Date()
}

/**
Expand Down

0 comments on commit 52d347c

Please sign in to comment.