Merge pull request #2263 from MilosKozak/rc-warning
Don't warn instantly on RC
This commit is contained in:
commit
a5fe0f6641
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription()
|
||||||
|
|
||||||
enum class GracePeriod(val warning: Long, val old: Long, val veryOld: Long) {
|
enum class GracePeriod(val warning: Long, val old: Long, val veryOld: Long) {
|
||||||
RELEASE(30, 60, 90),
|
RELEASE(30, 60, 90),
|
||||||
RC(0, 7, 14)
|
RC(1, 7, 14)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)
|
private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)
|
||||||
|
|
Loading…
Reference in a new issue