Commit 11cb7b09 authored by Szabolcs Gyurko's avatar Szabolcs Gyurko
Browse files

Changed a DB operation to be transactional and changed logging config to match packages

parent 82bb206b
Pipeline #309 failed with stage
in 41 seconds
......@@ -100,7 +100,7 @@ class DataPersister @Inject() (protected val dbConfigProvider: DatabaseConfigPro
).transactionally
/* Fire and forget SQL updates. They will be executed asynchronously */
dbConfig.db.run(qQuery andThen jQuery andThen cQuery)
dbConfig.db.run((qQuery andThen jQuery andThen cQuery).transactionally)
}
}
}
......@@ -17,7 +17,12 @@
</encoder>
</appender>
<logger name="application" level="DEBUG" />
<logger name="actors" level="DEBUG" />
<logger name="controllers" level="DEBUG" />
<logger name="entities" level="DEBUG" />
<logger name="sget2" level="DEBUG" />
<logger name="views" level="DEBUG" />
<logger name="workers" level="DEBUG" />
<root level="INFO">
<appender-ref ref="STDOUT" />
......
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