Skip to content

Commit

Permalink
pfl 0.7 and config tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 13, 2020
1 parent 3b78d28 commit 6908891
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/AppLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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._
Expand Down
2 changes: 1 addition & 1 deletion app/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ lazy val root = Project("lila", file("."))
.aggregate(api)
.settings(buildSettings)

PlayKeys.playDefaultPort := 9663
// shorter prod classpath
scriptClasspath := Seq("*")
maintainer := "[email protected]"
Expand Down
1 change: 1 addition & 0 deletions conf/base.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
http.port = 9663
https.port = disabled
mongodb {
uri = "mongodb://127.0.0.1:27017"
mongo-async-driver = ${akka}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 6908891

Please sign in to comment.