Fix default cache TTL

This commit is contained in:
Alexandre Archambault 2016-07-25 00:19:01 +02:00
parent 47e0d38a3b
commit c41dabdef9
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
1 changed files with 1 additions and 1 deletions

View File

@ -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)