mirror of https://github.com/sbt/sbt.git
Fix default cache TTL
This commit is contained in:
parent
47e0d38a3b
commit
c41dabdef9
|
|
@ -909,7 +909,7 @@ object Cache {
|
|||
|
||||
val fromEnv = sys.env.get("COURSIER_TTL").flatMap(fromString)
|
||||
def fromProps = sys.props.get("coursier.ttl").flatMap(fromString)
|
||||
def default = 24.days
|
||||
def default = 24.hours
|
||||
|
||||
fromEnv
|
||||
.orElse(fromProps)
|
||||
|
|
|
|||
Loading…
Reference in New Issue