fetch assets version more often
This commit is contained in:
parent
7bf7a46fae
commit
1486a3a24e
|
@ -54,7 +54,7 @@ final class Env(
|
|||
_.flatMap(_.getAs[BSONNumberLike]("version"))
|
||||
.fold(Net.AssetVersion)(_.toInt max Net.AssetVersion)
|
||||
},
|
||||
timeToLive = 1 minute,
|
||||
timeToLive = 30.seconds,
|
||||
default = Net.AssetVersion)
|
||||
def get = cache get true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue