Commit 9762bdc2 authored by NGPixel's avatar NGPixel

fix: set enableArithAbort explicit value for tedious driver

parent 31a18c8a
...@@ -106,8 +106,14 @@ module.exports = { ...@@ -106,8 +106,14 @@ module.exports = {
if (_.isPlainObject(dbConfig)) { if (_.isPlainObject(dbConfig)) {
dbConfig.appName = 'Wiki.js' dbConfig.appName = 'Wiki.js'
_.set(dbConfig, 'options.appName', 'Wiki.js')
dbConfig.enableArithAbort = true
_.set(dbConfig, 'options.enableArithAbort', true)
if (dbUseSSL) { if (dbUseSSL) {
dbConfig.encrypt = true dbConfig.encrypt = true
_.set(dbConfig, 'options.encrypt', true)
} }
} }
break break
......
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