pfl 0.7 and config tweaks

pull/7112/head
Thibault Duplessis 2020-08-13 12:20:37 +02:00
parent 3b78d28376
commit 69088915a3
6 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ final class LilaComponents(ctx: ApplicationLoader.Context)
val mem = Runtime.getRuntime().maxMemory() / 1024 / 1024
val appVersionCommit = ~configuration.getOptional[String]("app.version.commit")
val appVersionDate = ~configuration.getOptional[String]("app.version.date")
s"lila $appVersionCommit $appVersionDate / java ${java}, memory: ${mem}MB"
s"lila ${ctx.environment.mode} $appVersionCommit $appVersionDate / java ${java}, memory: ${mem}MB"
}
import _root_.controllers._

View File

@ -158,7 +158,7 @@ final class Env(
_ <- coach.api.remove(u.id)
reports <- report.api.processAndGetBySuspect(lila.report.Suspect(u))
_ <- self ?? mod.logApi.selfCloseAccount(u.id, reports)
_ <- u.marks.troll ?? relation.api.fetchFollowing(u.id) flatMap {
_ <- u.marks.troll ?? relation.api.fetchFollowing(u.id).flatMap {
activity.write.unfollowAll(u, _)
}
} yield Bus.publish(lila.hub.actorApi.security.CloseAccount(u.id), "accountClose")

View File

@ -10,7 +10,6 @@ lazy val root = Project("lila", file("."))
.aggregate(api)
.settings(buildSettings)
PlayKeys.playDefaultPort := 9663
// shorter prod classpath
scriptClasspath := Seq("*")
maintainer := "contact@lichess.org"

View File

@ -1,4 +1,5 @@
http.port = 9663
https.port = disabled
mongodb {
uri = "mongodb://127.0.0.1:27017"
mongo-async-driver = ${akka}

View File

@ -50,7 +50,7 @@ object Dependencies {
}
object play {
val version = "2.8.2-lila_0.6"
val version = "2.8.2-lila_0.7"
val api = "com.typesafe.play" %% "play" % version
val json = "com.typesafe.play" %% "play-json" % "2.9.0"
}

View File

@ -1,4 +1,4 @@
resolvers += Resolver.url("lila-maven-sbt", url("https://raw.githubusercontent.com/ornicar/lila-maven/master"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.2-lila_0.6")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.2-lila_0.7")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.3")