Commit 6b5d670d authored by Szabolcs Gyurko's avatar Szabolcs Gyurko
Browse files

Disabled connection pooling for sqlite and change application.secret to...

Disabled connection pooling for sqlite and change application.secret to play.crypto.secret due to deprecation
parent a9294a4e
name := "sget2"
version := "1.1"
version := "1.2"
lazy val `sget2` = (project in file(".")).enablePlugins(PlayScala)
......
......@@ -5,7 +5,7 @@
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
application.secret="Q2U^anL?4f[aNRtTFwXc:]1kmvLt<pXno3F[23hMo/PY?jp9Fv_MPf?^aXpeM`qm"
play.crypto.secret="Q2U^anL?4f[aNRtTFwXc:]1kmvLt<pXno3F[23hMo/PY?jp9Fv_MPf?^aXpeM`qm"
# The application languages
# ~~~~~
......@@ -45,7 +45,8 @@ slick.dbs.default.db.url="jdbc:sqlite:sget2.db"
slick.dbs.default.db.url=${?DATABASE_URL}
slick.dbs.default.db.connectionInitSql="PRAGMA foreign_keys = ON"
slick.dbs.default.db.connectionTestQuery="select 1"
slick.dbs.default.db.numThreads=1
#slick.dbs.default.db.numThreads=1
slick.dbs.default.db.connectionPool=disabled
# Evolutions
# ~~~~~
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment