mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
only set wal for sqlite
This commit is contained in:
parent
52a39b02ce
commit
e8c735e794
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ sequelize = new Sequelize(
|
||||||
options
|
options
|
||||||
)
|
)
|
||||||
|
|
||||||
sequelize.query("PRAGMA journal_mode=WAL;")
|
if Settings.mysql.clsi.dialect == "sqlite"
|
||||||
|
sequelize.query("PRAGMA journal_mode=WAL;")
|
||||||
|
|
||||||
module.exports =
|
module.exports =
|
||||||
UrlCache: sequelize.define("UrlCache", {
|
UrlCache: sequelize.define("UrlCache", {
|
||||||
|
|
Loading…
Reference in a new issue